I'm new to C++. I know there is an std::remove
method to remove characters from a string, but is there a remove_at
method of some kind that will allow me to remove the characters at a certain index in the string? For example,
string s = "aBcDeF";
s = s.remove_at(4).remove_at(2);
would result in
"aBDF"
Is there a function in the standard library to do this?