A allyrnn Member Joined Nov 22, 2004 Messages 5 Programming Experience 1-3 Nov 26, 2004 #1 I have a text file that will need to have text deleted from it. Anyone know how to do this?
Paszt Staff member Joined Jun 3, 2004 Messages 1,500 Location Raleigh, NC - USA Programming Experience Beginner Nov 28, 2004 #2 What I would do is to read the whole file into a string, modify the string, then rewrite the file. Use the System.IO.TextReader and System.IO.TextWriter to read and write the files. Upvote 0 Downvote
What I would do is to read the whole file into a string, modify the string, then rewrite the file. Use the System.IO.TextReader and System.IO.TextWriter to read and write the files.
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Nov 29, 2004 #3 or the system.io.streamreader and system.io.streamwriter Upvote 0 Downvote