20 #ifndef UTILS_STRINGS_REMOVE_ALL_H
21 #define UTILS_STRINGS_REMOVE_ALL_H
32 inline bool RemoveAll(
const std::string &needle, std::string *haystack) {
34 return haystack->find(needle) != std::string::npos;
37 inline bool RemoveAll(
char needle, std::string *haystack) {
39 return haystack->find(needle) != std::string::npos;
bool RemoveAll(const std::string &needle, std::string *haystack)
void ReplaceAll(const std::string &replace_this, const std::string &with_this, std::string *string)