String class
Concatenation operators (String)
// EXAMPLE
String s = "testing ";
s += "123...";
// PROTOTYPES
String & operator += (const String &rhs);
String & operator += (const char *cstr);
String & operator += (char c);
String & operator += (unsigned char num);
String & operator += (int num);
String & operator += (unsigned int num);
String & operator += (long num);
String & operator += (unsigned long num);
In addition to the concat
method, you can use the concatenation operator +=
to append a string to an existing String
object.