Hi,
I have been trying to figure out how to remove lines in a text file, but can't figure out how...
ie- if I have this:
line1here
line2here
line3here
I am trying to remove, say, line 2 in the file, and place an edited line2 at the end of the file like this:
line1here
line3here
newline2here
How do I do this?
If it involves creating a new file(must have the same name), then how do I delete the old one?
Thanks!
Bookmarks