@@ -81,7 +81,7 @@ class String
8181 inline unsigned int length (void ) const {return len;}
8282
8383 // 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
8585 // marked as invalid ("if (s)" will be false).
8686 String & operator = (const String &rhs);
8787 String & operator = (const char *cstr);
@@ -92,10 +92,10 @@ class String
9292 #endif
9393
9494 // concatenate (works w/ built-in types)
95-
95+
9696 // 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.
9999 unsigned char concat (const String &str);
100100 unsigned char concat (const char *cstr);
101101 unsigned char concat (char c);
@@ -107,7 +107,7 @@ class String
107107 unsigned char concat (float num);
108108 unsigned char concat (double num);
109109 unsigned char concat (const __FlashStringHelper * str);
110-
110+
111111 // if there's not enough memory for the concatenated value, the string
112112 // will be left unchanged (but this isn't signalled in any way)
113113 String & operator += (const String &rhs) {concat (rhs); return (*this );}
@@ -162,7 +162,7 @@ class String
162162 {getBytes ((unsigned char *)buf, bufsize, index);}
163163 const char * c_str () const { return buffer; }
164164 const char * begin () { return c_str (); }
165- const char * end () { return c_str () + length (); }
165+ const char * end () { return c_str () + length (); }
166166
167167 // search
168168 int indexOf ( char ch ) const ;
0 commit comments