MCPcopy Create free account
hub / github.com/Rezonality/zep / string_tolower

Function string_tolower

src/mcommon/string/stringutils.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20std::string string_tolower(const std::string& str)
21{
22 std::string copy = str;
23 std::transform(copy.begin(), copy.end(), copy.begin(), [](char ch) {
24 return (char)::tolower(int(ch));
25 });
26 return copy;
27}
28
29std::string string_replace(std::string subject, const std::string& search, const std::string& replace)
30{

Callers 9

LoadConfigMethod · 0.85
SetBufferModeMethod · 0.85
SetBufferSyntaxMethod · 0.85
RegisterSyntaxFactoryMethod · 0.85
GetFileExtensionMethod · 0.85
IndexPathsMethod · 0.85
UpdateSyntaxMethod · 0.85
UpdateTreeMethod · 0.85
GetCommandMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected