Description
Returns the length of the String, in characters. (Note that this doesn’t include a trailing null character.)
Syntax
myString.length()
Parameters
myString
: 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.)
myString.length()
myString
: a variable of type String
The length of the String in characters.
LANGUAGE c_str()
LANGUAGE charAt()
LANGUAGE compareTo()
LANGUAGE concat()
LANGUAGE endsWith()
LANGUAGE equals()
LANGUAGE equalsIgnoreCase()
LANGUAGE getBytes()
LANGUAGE indexOf()
LANGUAGE lastIndexOf()
LANGUAGE remove()
LANGUAGE replace()
LANGUAGE reserve()
LANGUAGE setCharAt()
LANGUAGE startsWith()
LANGUAGE substring()
LANGUAGE toCharArray()
LANGUAGE toDouble()
LANGUAGE toFloat()
LANGUAGE toInt()
LANGUAGE toLowerCase()
LANGUAGE toUpperCase()
LANGUAGE trim()
EXAMPLE Built-in String Tutorials