t0ddie Posted June 25, 2005 Share Posted June 25, 2005 so i have this variable called $line and it is pretty much 15 lines of text. i want to only save line 9, and only save everything on the right of that line from 16 characters from the left of the beginning of that line. so this is line 9.... "xoxoxoxoxoxoxoxhi there" when successful, $line should store this "hi there" reminder please....? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
flyingboz Posted June 25, 2005 Share Posted June 25, 2005 read the book....String* Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted June 25, 2005 Share Posted June 25, 2005 $aline = StringSplit($line, @CRLF) MsgBox(0, "test", $aline[9]) that should work, else try @CR or @LF. Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now