Remove existing record in .txt file

Dec 19 2007 10:02 AM

Is there any way I could remove my records from my existing .txt file on my WinApp program?

Here my example record on my .txt file:

1st line: 1234567890

2nd line: qwertyuiop

3rd line: asdfghjkl

if i would like delete the 2nd line, what codes should i use?

after deleting the 2nd line... the 3rd line should be on the 2nd line position...

 

any suggestions?


Answers (1)