I need help. Been trying to do this all morning.
I Basically need to open a text file. Find a string of text and replace it with another string of text. Then close the file.
So say, I open the file, and i need to find every string in the file with "Hello" and replace it with "Goodbye". Then close and save the file.
How do i do this??
Thanks.
I Basically need to open a text file. Find a string of text and replace it with another string of text. Then close the file.
So say, I open the file, and i need to find every string in the file with "Hello" and replace it with "Goodbye". Then close and save the file.
How do i do this??
Thanks.
Comment