| 822 | } |
| 823 | |
| 824 | bool Str::startsWith(const std::string& str, const std::string& start) { |
| 825 | return (str.length() >= start.length()) && (str.compare(0, start.length(), start) == 0); |
| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected