I am trying to open a text file called TEST.TXT, find a line of text we'll call "A", then replace it with a new one which we'll call "B", then close the file.
Here is the line I want to find in TEST.TEXT:
Pref("This is the old line", "and more here");
Here is the line I want to replace it with:
Pref("New line I want to use", "and here to");
The replacement would be the entire line from the "P" to the ";"
If anyone has an example, or helpful info I'd sure appreciate it.