delete library arduino code example
Example: arduino remove()
// remove(index, count) > on variable of type String
String greeting = "hello";
greeting.remove(0, 1); // greeting now contains "ello"
greeting.remove(2, 2); // greeting now contains "el"