find a character in a set and remove it 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());