View Single Post
  #2 (permalink)  
Old 12-04-2008, 05:08 PM
xcallmejudasx's Avatar
xcallmejudasx xcallmejudasx is offline
Senior Member
 
Join Date: Oct 2008
Location: Houston, TX & Flint, MI
Posts: 585
Rep Power: 2
xcallmejudasx is on a distinguished road
Send a message via AIM to xcallmejudasx
Default
you could create an array of Strings and use Delimeter attached to your in.next() that will take each word and put it into the array. After that it's as easy as using Array.set(position, word) (I think thats the method you will need to look it up).

Pretty much you just tell it the word and position in the array to set the word and it will automatically re-organize everything
Reply With Quote