| 122 | } |
| 123 | |
| 124 | bool EndsWithIgnoreCase(const std::string& s, const char* suffix) { |
| 125 | return EndsWith(s, suffix, strlen(suffix), false); |
| 126 | } |
| 127 | |
| 128 | bool EndsWithIgnoreCase(const std::string& s, const std::string& suffix) { |
| 129 | return EndsWith(s, suffix.c_str(), suffix.size(), false); |