remove a character from a string from a particular position c++ code example
Example: delete one specific character in string C++
#include <algorithm>
str.erase(std::remove(str.begin(), str.end(), 'a'), str.end());
#include <algorithm>
str.erase(std::remove(str.begin(), str.end(), 'a'), str.end());