Searched refs:oldStr (Results 1 – 1 of 1) sorted by relevance
2515 uint64_t replace_all(std::string &str, const std::string &oldStr, in replace_all() argument2519 while ((pos = str.find(oldStr, pos)) != std::string::npos) { in replace_all()2521 str.replace(pos, oldStr.length(), newStr); in replace_all()