diff options
author | per1234 <accounts@perglass.com> | 2021-05-26 04:35:59 -0700 |
---|---|---|
committer | per1234 <accounts@perglass.com> | 2021-05-26 04:39:38 -0700 |
commit | 8b327d7bede1c1245db99daeba4e168c92c11194 (patch) | |
tree | b75e18bd089cff448953fe4304aabed878fce2d5 /cores/arduino/WString.h | |
parent | 5ec42f90eed49e886eb96ad156b4332ab3d21493 (diff) |
Correct typos in comments and documentation
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index 77709c3..2cf4cd7 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -95,7 +95,7 @@ public: // returns true on success, false on failure (in which case, the string // is left unchanged). if the argument is null or invalid, the - // concatenation is considered unsucessful. + // concatenation is considered unsuccessful. unsigned char concat(const String &str); unsigned char concat(const char *cstr); unsigned char concat(char c); @@ -152,7 +152,7 @@ public: unsigned char startsWith(const String &prefix, unsigned int offset) const; unsigned char endsWith(const String &suffix) const; - // character acccess + // character access char charAt(unsigned int index) const; void setCharAt(unsigned int index, char c); char operator [] (unsigned int index) const; |