Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to to find and delete a line of a flat text file 1

Status
Not open for further replies.

robertd18

Technical User
Jan 14, 2003
32
US
It probably has been asked before but the search gave me errors.
 
Post your code so we can assist you in finding the problem.
 
the file is say data.txt
has a|b|c
i want to delete b
thanks
 
Hi Robert, have a look in the FAQ's, there's one on how to do this. Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top