Reputation: 297
I have a text file with the following contents:
3,3,5,7,9,10,1
I can read the file and reach the content by ReadToEnd()
method, but I want to delete only '3', so that it has the contents:
5,7,9,10,10
How can I do this?
Upvotes: 0
Views: 78
Reputation: 4598
If you want to delete it from with in Notepad, try find & replacing 3,
with and empty space. If you are doing it from within you program you have to parse the file and make a new one only appending it with the values you want
Upvotes: 1