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

Function StringToLower

base/string/algorithm.h:272–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272inline void StringToLower(std::string* s)
273{
274 std::string::iterator end = s->end();
275 for (std::string::iterator i = s->begin(); i != end; ++i)
276 *i = tolower(static_cast<unsigned char>(*i));
277}
278
279inline std::string UpperString(const StringPiece& s)
280{

Callers 4

TESTFunction · 0.85
LowerStringFunction · 0.85
TESTFunction · 0.85

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68