View Single Post
  #3 (permalink)  
Old 11-13-2007, 05:51 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
I'm not 100% sure what you are asking but it seems that you just need to know how to find the length of a String. Not matter where the String variable is, you can use its length() method to find out how long it is.

Just like the example in your first post, it would be something like:

Code:
int length = s.length();
Reply With Quote