Thanks,
I probably wasn't real clear on the question so let me restate it.
I have an existing file and I have several char's that I want
to replace with different values.
What I've done is:
created a FileStream to open the existing file
created a FileStream to creat a new file
created a StreamReader sr and a StreamWriter sw
looped through the file reading in each line with the sr
performing a string.replace(old,new) separately for each
pair of replacement values.
sw.Write(newline) to the new file
deleted the old file
I realize I could probably read in the whole file into memory but the file
could be large. Other then that, is this
the best way to handle this problem.
Thanks,
RickN