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

Function ReplaceStringInPlace

LASzip/src/mydefs.cpp:439–441  ·  view source on GitHub ↗

replace all occurrences of search in subject with replace

Source from the content-addressed store, hash-verified

437
438/// replace all occurrences of search in subject with replace
439void ReplaceStringInPlace(std::string& subject, const std::string& search, const std::string& replace) {
440 subject = ReplaceString(subject, search, replace);
441}
442
443/// checks if a fullString ends with a certain ending
444bool 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