@@ -81,7 +81,7 @@ class String
8181inline  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).
8686String & operator  = (const  String &rhs);
8787String & 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.
9999unsigned  char  concat (const  String &str);
100100unsigned  char  concat (const  char  *cstr);
101101unsigned  char  concat (char  c);
@@ -107,7 +107,7 @@ class String
107107unsigned  char  concat (float  num);
108108unsigned  char  concat (double  num);
109109unsigned  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)
113113String & operator  += (const  String &rhs)	{concat (rhs); return  (*this );}
@@ -162,7 +162,7 @@ class String
162162{getBytes ((unsigned  char  *)buf, bufsize, index);}
163163const  char  * c_str () const  { return  buffer; }
164164const  char * begin () { return  c_str (); }
165- const  char * end () { return  c_str () + length (); }
165+ const  char * end () { return  c_str () + length (); }
166166
167167//  search
168168int  indexOf ( char  ch ) const ;
0 commit comments