Untitled
unknown
plain_text
a year ago
170 B
6
Indexable
void erase(const std::string& target, std::string& text)
{
size_t pos = 0;
while ((pos = text.find(target, pos)) != std::string::npos)
{
text.erase(pos);
}
}Editor is loading...
Leave a Comment