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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete last line of text file.

Status
Not open for further replies.

coffytan

Programmer
Mar 25, 2004
12
MY
Hi, I'm quite fresh in Java programming. I wondering how can I open a plain text file and delete it's last line.

Hope that you out there can help me up in this problem. Thx.
 
Look at FileInputStream and File in the java.io package (search for "FileInputStream Java" in google).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top