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.
myString
String
The length of the String in characters. Data type: unsigned int.
unsigned int