MCPcopy Create free account
hub / github.com/LASzip/LASzip / ReplaceStringInPlace

Function ReplaceStringInPlace

src/mydefs.cpp:443–445  ·  view source on GitHub ↗

replace all occurrences of search in subject with replace

Source from the content-addressed store, hash-verified

441
442/// replace all occurrences of search in subject with replace
443void ReplaceStringInPlace(std::string& subject, const std::string& search, const std::string& replace) {
444 subject = ReplaceString(subject, search, replace);
445}
446
447/// checks if a fullString ends with a certain ending
448bool StringEndsWith(const std::string& fullString, const std::string& ending) {

Callers

nothing calls this directly

Calls 1

ReplaceStringFunction · 0.85

Tested by

no test coverage detected