@@ -81,7 +81,7 @@ class String
81
81
inline unsigned int length (void ) const {return len;}
82
82
83
83
// creates a copy of the assigned value. if the value is null or
84
- // invalid, or if the memory allocation fails, the string will be
84
+ // invalid, or if the memory allocation fails, the string will be
85
85
// marked as invalid ("if (s)" will be false).
86
86
String & operator = (const String &rhs);
87
87
String & operator = (const char *cstr);
@@ -92,10 +92,10 @@ class String
92
92
#endif
93
93
94
94
// concatenate (works w/ built-in types)
95
-
95
+
96
96
// returns true on success, false on failure (in which case, the string
97
- // is left unchanged). if the argument is null or invalid, the
98
- // concatenation is considered unsucessful.
97
+ // is left unchanged). if the argument is null or invalid, the
98
+ // concatenation is considered unsucessful.
99
99
unsigned char concat (const String &str);
100
100
unsigned char concat (const char *cstr);
101
101
unsigned char concat (char c);
@@ -107,7 +107,7 @@ class String
107
107
unsigned char concat (float num);
108
108
unsigned char concat (double num);
109
109
unsigned char concat (const __FlashStringHelper * str);
110
-
110
+
111
111
// if there's not enough memory for the concatenated value, the string
112
112
// will be left unchanged (but this isn't signalled in any way)
113
113
String & operator += (const String &rhs) {concat (rhs); return (*this );}
0 commit comments