mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-08 17:02:26 +03:00
This will allow using the String library in a ranged for loop: ```C++ String s("Hi, this is a test"); for (const char& ch : s) { Serial.print(ch); } ``` and even modify ```C++ String s("Hi, this is another test"); for (char& ch : s) { ch++; } Serial.println(s); ```