A
ALF
What's easiest way to replace a particular text string in
a text file by another and save the modified file?
Currently I know how to open a file, read the text
string, place it in a variable, and modify the string.
What I'd like to know is how to save the modified string
in the same file.
The alternative that's I'm trying to avoid is to create a
temporary auxiliary file in the process.
Any help is appreciated
Thanks
ALF
a text file by another and save the modified file?
Currently I know how to open a file, read the text
string, place it in a variable, and modify the string.
What I'd like to know is how to save the modified string
in the same file.
The alternative that's I'm trying to avoid is to create a
temporary auxiliary file in the process.
Any help is appreciated
Thanks
ALF