22 const std::string& search,
23 const std::string& replace) {
25 while ((pos = str.find(search, pos)) != std::string::npos) {
26 str.replace(pos, search.length(), replace);
27 pos += replace.length();
std::string replaceString(std::string str, const std::string &search, const std::string &replace)
Definition: common.h:20