Description
Returns the length of the String, in characters. (Note that this doesn’t include a trailing null character.)
Syntax
string.length()
Parameters
string
: a variable of type String
Returns
The length of the String in characters.
Returns the length of the String, in characters. (Note that this doesn’t include a trailing null character.)
string.length()
string
: a variable of type String
The length of the String in characters.
EXAMPLE link: Built-in String Tutorials