Andrei Morozov Andrei Morozov - 1 month ago 20
C++ Question

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.

Answer

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

Comments