Searched refs:sourceStr (Results 1 – 2 of 2) sorted by relevance
263 void ResourceUtil::StringReplace(string &sourceStr, const string &oldStr, const string &newStr) in StringReplace() argument268 while ((pos = sourceStr.find(oldStr, pos)) != string::npos) { in StringReplace()269 sourceStr.replace(pos, oldSize, newStr.c_str()); in StringReplace()
43 …static void StringReplace(std::string &sourceStr, const std::string &oldStr, const std::string &ne…