| String

| Reference for Wiring 1.0 (ALPHA) 0021+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Class |  | String
Name |  | ### length()
Examples |  |
    String str1 = "CCCP";
    int l1 = str1.length();
    Serial.println(l1, DEC);  // Prints 4
Description |  | Returns the total number of characters included in the string as an integer number.
Syntax |  |
    length()
Returns |  | int
Usage |  | Web & Application