Home arrow static arrow Java Programming [Archive] - What api would I use to get the number of chars in string?
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - What api would I use to get the number of chars in string?
This topic has 2 replies on 1 page.

Posts:31
Registered: 6/21/04
What api would I use to get the number of chars in string?  
Jun 24, 2004 10:31 AM



 
What api would I use to get the number of chars in string?
 

Posts:31
Registered: 6/21/04
Re: What api would I use to get the number of chars in string?  
Jun 24, 2004 10:35 AM (reply 1 of 2)



 
nevermind
 

Posts:55
Registered: 1/27/04
Re: What api would I use to get the number of chars in string?  
Jun 24, 2004 10:36 AM (reply 2 of 2)



 
Assuming that you really mean that you want the number of charaters in a String (not string), that would be documented in java.lang.String

The method is length()
 
This topic has 2 replies on 1 page.