MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / toLower

Method toLower

source/src/tools/string.h:137–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 static std::string toLower(std::string str) { std::string result; for (size_t s = 0; s < str.length(); s++) result += tolower(str[s]); return result; }
138 static std::wstring toLower(std::wstring str) { std::wstring result; for (size_t s = 0; s < str.length(); s++) result += towlower(str[s]); return result; }
139 static std::string toUpper(std::string str) { std::string result; for (size_t s = 0; s < str.length(); s++) result += toupper(str[s]); return result; }
140 static std::wstring toUpper(std::wstring str) { std::wstring result; for (size_t s = 0; s < str.length(); s++) result += towupper(str[s]); return result; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected