String.length
Class Overview | Class Members | This Package | All Packages
Syntax
public int length()
Returns
the length of the sequence of characters represented by this object.
Description
Returns the length of this string. The length is equal to the number of 16-bit Unicode characters in the string.