I kind of have 2 questions...
I have a unicode txt file that I need to do a find and replace in.
1. How do I work with unicode files?
2. Can you suggest more effiecient way of doing it, as they only way I have found of doing it it as follows (with ANSI) (basically rewrite the text file to a temp file while looking for the string I want to replace, then delete the original and rename the temp file):
Let>k=1
Label>start
ReadLn>C:\TextFile.txt,k,line
If>line=##EOF##,finish
If>line=SearchTextString,replace
WriteLn>C:\TempTextFile.txt,result,line
Let>k=k+1
Goto>start
Label>replace
Let>k=k+1
WriteLn>C:\TempTextFile.txt,result,ReplaceTextString
Goto>start
Label>finish
DeleteFile>C:\TextFile.txt
CopyFile>C:\TempTextFile.txt,C:\TextFile.txt
DeleteFile>C:\TempTextFile.txt