File tree 2 files changed +3
-0
lines changed
hardware/arduino/sam/cores/arduino
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ ARDUINO 1.6.9
17
17
* Fixed Ctrl+Del: now deletes the word behind the cursor instead of the entire line. Thanks @avargas-nearsoft
18
18
19
19
[core]
20
+ * String class now supports iterators. Thanks @Chris--A
20
21
* sam: Allow 3rd party boards that depend on SAM core to use their own
21
22
USB vid/pid and manufacturer/product strings. Thanks @philmanofsky.
22
23
* avr: Check at runtime if 32u4 boards are shipped with new bootloader; if so
Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ class String
161
161
void toCharArray (char *buf, unsigned int bufsize, unsigned int index=0 ) const
162
162
{getBytes ((unsigned char *)buf, bufsize, index );}
163
163
const char * c_str () const { return buffer; }
164
+ const char * begin () { return c_str (); }
165
+ const char * end () { return c_str () + length (); }
164
166
165
167
// search
166
168
int indexOf ( char ch ) const ;
You can’t perform that action at this time.
0 commit comments