Sign in to follow this  
Followers 0
Kachnik

How to split large string by lines

3 posts in this topic

Hello,

I would like to grab some info from www page so I need it somehow in autoit.

I am able to get thw source into var

$sHTML = _IEDocReadHTML ($oIE)

but it is to large. is it somehow possible to split it by lines?

or better to walk thru line by line? something like foreach...

If no I thing that I will save the source into file and use file read line, but I am not able

to find how to get the source directly into file.

Thanks for the tips!

Kachnik

Share this post


Link to post
Share on other sites



$aHTML = StringSplit($sHTML, @CRLF, 1)

Share this post


Link to post
Share on other sites

$aHTML = StringSplit($sHTML, @CRLF, 1)

How simple If you know how :P Thank you very much

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0