wood burning stoves*
The moose likes Beginning Java and the fly likes How to read lines from a text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to read lines from a text file" Watch "How to read lines from a text file" New topic
Author

How to read lines from a text file

John Ray Allen
Ranch Hand

Joined: Jan 06, 2005
Posts: 50
I am new into java guys..i just want to know if how could i read lines and get string/s from a textfile then write it on a certain application lets say MSExcel..coz i want to sort it by columns...thanks
Marcus Laubli
Ranch Hand

Joined: Dec 24, 2004
Posts: 116
Ray, check this out.

It's a great example. Here's how I found it. I went to google and typed in Java readline textfile, and voila!
[ January 26, 2005: Message edited by: Marcus Laubli ]

Marcus L´┐Żubli, SCJP 1.4, CLP 5.0, SCWCD 1.4 (preparing)
 
GeeCON Prague 2014
 
subject: How to read lines from a text file