| 826 | } |
| 827 | |
| 828 | bool Str::endsWith(const std::string& str, const std::string& end) { |
| 829 | return (str.length() >= end.length()) && (str.compare(str.length() - end.length(), end.length(), end) == 0); |
| 830 | } |
| 831 | |
| 832 | std::string& Str::replaceAll(std::string& str, char replaceWhat, char replaceWith) { |
| 833 | std::replace(str.begin(), str.end(), replaceWhat, replaceWith); |
nothing calls this directly
no outgoing calls
no test coverage detected