Return the number of characters in a string:
String |
The length()
method retrieves the length of a given string.
Note: An empty string has a length of 0.
public |
None.
Returns: |
An integer value representing the length of the string. |