Qualitybit Posted July 3, 2007 Share Posted July 3, 2007 Hi, I grab an HTML-page (every line ends with @CR), put it into a string, put it into a file and reload it with file2array so I can parse it line by line. I could not believe that this is the shortest way. Does anyone have a hint for me? regards, 101011 [font="Courier New"][center]Me vs. 127.0.0.1 =>> 0:2But I never give up! >:-][/center][/font] Link to comment Share on other sites More sharing options...
herewasplato Posted July 3, 2007 Share Posted July 3, 2007 $String = grab page $StringArray = StringSplit($String, @CR) For $i = 1 to $StringArray[0] ;;;;;do what you want Next [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
mikehunt114 Posted July 3, 2007 Share Posted July 3, 2007 (edited) Maybe...StringSplit($string, @CR)Edit: herewasplato winz Edited July 3, 2007 by mikehunt114 IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
Qualitybit Posted July 3, 2007 Author Share Posted July 3, 2007 big thx ! 101011 [font="Courier New"][center]Me vs. 127.0.0.1 =>> 0:2But I never give up! >:-][/center][/font] 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