Search code examples
c++arduinoarduino-unoerase

Remove character from String c++/Arduino UNO


I need to delete some characters from string. When i used erase it doesn`t work, compilation error erase no member named. Please help me. Probaly it is because I writing for Arduino UNO.


Solution

  • Arduino String class is quite different from std::string. For example erase doesn't exists. But there is method remove.

    Anyway, you should start with: https://www.arduino.cc/en/Reference/HomePage