| 93 | } |
| 94 | |
| 95 | inline string StripPrefixString(const string& str, const string& prefix) { |
| 96 | if (HasPrefixString(str, prefix)) { |
| 97 | return str.substr(prefix.size()); |
| 98 | } else { |
| 99 | return str; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | // ---------------------------------------------------------------------- |
| 104 | // HasSuffixString() |
nothing calls this directly
no test coverage detected