| 90 | } |
| 91 | |
| 92 | std::string ToUpperCase(const std::string& text) { |
| 93 | std::string result(text); |
| 94 | std::transform(result.begin(), result.end(), result.begin(), |
| 95 | [](unsigned char c) { return std::toupper(c); }); |
| 96 | return result; |
| 97 | } |
| 98 | |
| 99 | std::string ReplaceAll(const std::string& text, const std::string& from, const std::string& to) { |
| 100 | if (from.empty()) { |
nothing calls this directly
no test coverage detected