Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read lines from a text file

 
John Ray Allen
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic