MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / string_tolower

Function string_tolower

external/zep/src/mcommon/string/stringutils.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 11

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

Calls 3

tolowerFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected