Romm Posted September 25, 2009 Posted September 25, 2009 (edited) Ok for example i have html file with code.Test = 123Test = 1234Test = 2345Test = 234I need to find values 123, 1234, 2345, 234, copy them and insert into .txt file like this:12312342345234I know how to search 1 value. But cant understand how to search all 4. Something like...find 1st value, copy it, delete, then find 2nd value...etc.And there is also problem searching different length values.Thanks for help. Edited September 25, 2009 by Romm
Romm Posted September 25, 2009 Author Posted September 25, 2009 $sttc = _StringBetween('121', '1', '1') _ArrayDisplay($sttc, 'Default Search') Is it?
andygo Posted September 25, 2009 Posted September 25, 2009 _ArrayDisplay provides information in Auto IT window. How can i copy it into file? InetGet ( "http://www.example.com", @TempDir & "\test.htm", 1) $chars = FileRead(@TempDir & "\test.htm")
dantay9 Posted September 25, 2009 Posted September 25, 2009 You can use FileReadLine in a loop and just parse each line separately. Just use stringtrimleft to take off the unneeded characters from the left side of the string.
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