MCPcopy Create free account
hub / github.com/chen3feng/toft / StripString

Function StripString

base/string/algorithm.h:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100std::string StripString(const StringPiece& s, const char* remove, char replacewith);
101inline std::string StripString(const StringPiece& s, const std::string& remove, char replacewith)
102{
103 return StripString(s, remove.c_str(), replacewith);
104}
105
106void StripString(std::string* s, const char* remove, char replacewith);
107inline void StripString(std::string* s, const std::string& remove, char replacewith)

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56