View Single Post
Join Date: Oct 2008
Posts: 37
Reputation: l_03 has a little shameless behaviour in the past 
Solved Threads: 0
l_03 l_03 is offline Offline
Light Poster

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

 
0
  #6
Nov 17th, 2008
Originally Posted by javaAddict View Post
  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. }



thank you,,,thank you very much "java addict"...this is such a great help...thank you....,,
Reply With Quote