| 266 | } |
| 267 | |
| 268 | bool |
| 269 | StringUtils::end_with(string s, string tail) |
| 270 | { |
| 271 | if (tail.length() < s.length()) { |
| 272 | s = s.substr(s.length() - tail.length()); |
| 273 | } |
| 274 | return s == tail; |
| 275 | } |
| 276 | |
| 277 | ////////////////////////////////////////////////////////////////////////////// |
| 278 | StringUtils::StringUtils() |
nothing calls this directly
no outgoing calls
no test coverage detected