MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ReplaceAll

Function ReplaceAll

common/StringUtil.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 std::string ReplaceAll(const std::string_view subject, const std::string_view search, const std::string_view replacement)
305 {
306 std::string ret(subject);
307 ReplaceAll(&ret, search, replacement);
308 return ret;
309 }
310
311 void ReplaceAll(std::string* subject, const std::string_view search, const std::string_view replacement)
312 {

Callers 3

DownloadCoversMethod · 0.85
ApplyTemplateFunction · 0.85
GetCASShaderSourceMethod · 0.85

Calls 4

emptyMethod · 0.45
findMethod · 0.45
replaceMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected