View Single Post
Join Date: Dec 2007
Posts: 1,525
Reputation: javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light 
Solved Threads: 209
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: How to make an array in text file (help..)

 
0
  #5
Nov 17th, 2008
  1. for (line = lnr.readLine(); line!=null; line = lnr.readLine()){
  2.  
  3. String account[] = line.split(" ");
  4.  
  5. //print whatever you want
  6. //and do whatever you want with the elements:
  7. //account[0], account[1], account[2], account[3], account[4]
  8.  
  9. }
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote