Thread: Problem...
View Single Post
  #2 (permalink)  
Old 11-08-2007, 11:47 PM
ShoeNinja's Avatar
ShoeNinja ShoeNinja is offline
Senior Member
 
Join Date: Oct 2007
Posts: 123
ShoeNinja is on a distinguished road
Send a message via AIM to ShoeNinja
Something like this should work.

Code:
for(int i = 0; i <= stringSize; i++) { System.out.println(userInput.indexOf(i,i)); }
I didn't test it but that should be the right idea.
Reply With Quote