| String

| Reference for Wiring 1.0 (ALPHA) 0019+. 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 |  | ### append()
Examples |  |
    String str1 = "CCCP";
    String str2 = "Rabbit";
    str2.append(str1);
    Serial.println(str2);  // Prints 'RabbitCCCP'
    int variable = 15;
    String str = "Variable is ";
    str.append(variable);
    Serial.println(str);   // Prints 'Variable is 15'
    int variable = 8;
    String str = "Variable is ";
    str.append(variable, BIN);   // appends the binary representation of variable
    Serial.println(str);   // Prints 'Variable is 1000'
Description |  | Appends the String representation of the specified argument to the end of this string.
Syntax |  |
    append(data)
    append(data, base)
Parameters |  |
data |  | data: int, long, char, char[], or String to be added
base |  | DEC, HEX, OCT or BIN (exclusive for int or long data)
Returns |  | none
Usage |  | Web & Application