Hi,
I am quite new to C# and I am just wondering if anyone could help me out a little.
Basically if I have a text file and lines like the below:
blah blah blah one blah blah blah blah
blah blah blah two blah blah blah blah
blah blah blah three blah blah blah blah
blah blah blah four blah blah blah blah
I would like to be able to look for the line with, say "three" on it and then delete that line. The only things I done like this before are using the split function.
Thanks for your help in advance.
I am quite new to C# and I am just wondering if anyone could help me out a little.
Basically if I have a text file and lines like the below:
blah blah blah one blah blah blah blah
blah blah blah two blah blah blah blah
blah blah blah three blah blah blah blah
blah blah blah four blah blah blah blah
I would like to be able to look for the line with, say "three" on it and then delete that line. The only things I done like this before are using the split function.
Thanks for your help in advance.