Untitled
Anonymous
plain_text
01/13/2025 4:07 AM
228 B
13
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