Untitled
unknown
plain_text
2 months ago
170 B
4
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