We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e82103 commit 7530d2bCopy full SHA for 7530d2b
cores/arduino/WString.h
@@ -161,6 +161,8 @@ class String
161
void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const
162
{getBytes((unsigned char *)buf, bufsize, index);}
163
const char * c_str() const { return buffer; }
164
+ const char* begin() { return c_str(); }
165
+ const char* end() { return c_str() + length(); }
166
167
// search
168
int indexOf( char ch ) const;
0 commit comments