reading and writing to a text file
Posted on 2002-04-09
Okay I know how to create a txt file, now I want to write to it....
I have a txt file created. Now I want to write to it, first thing I want to do is parse it and validate that this string does not exists in the file.
The format I want written to this file is.
Meaning I want to check the file to see if name4 exists, if it doesn't the add it to the bottom, if it does exist, then ignore.I want the pattern kept the same, I know we need to incorporate the special character for a carriage return.
Any ideas? Need help asap.