20 #ifndef UTILS_STRINGS_REPLACE_ALL_H
21 #define UTILS_STRINGS_REPLACE_ALL_H
28 const std::string &with_this, std::string *
string) {
29 string->replace(string->begin(),
string->end(), replace_this.c_str(),
33 inline void ReplaceAll(
char replace_this,
char with_this, std::string *
string) {
34 string->replace(string->begin(),
string->end(), replace_this, with_this);
void ReplaceAll(const std::string &replace_this, const std::string &with_this, std::string *string)