Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Cut text x spaces

$
0
0
I have the following text...

Last logon for Jsmith was from mightymouse on Tue Jan 22 2013 at 10:32 AM

I can get it into a file using autoit, but what I would like is to be able to only put some text in a file.

How do I cut the text at say the 8th space and put the rest into a variable.

eg I just want the text  "Tue Jan 22 2013 at 10:32 AM" which of course will change all the time based on date.

I will take the text and then put it in a variable which I will write out to a file.

I have looked at various helps and tried a number of things but cant seem to find what I want. I am not a programer but pretty good at taking other peoples scripts and using them for my own use.

Thanks.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>