>Hi.
>I need to open a '.txt' file,
>search information on it, read
>that information and then write
>it back in a 'new txt' file.
>Which is the best way to do this?
>Thanks in advance!
It depends on what is the structure of the file and how big it is. If it's not very big, you can first get the whole file in the string with
lcStr = filetostr('myFile.txt')
Then you may look for your string using AT function and then write back with strtofile() function.
If it's not broken, fix it until it is.
My Blog