mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +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); ```