| 67 | static bool is_suffix(const TStringBuf& what, const TStringBuf& of, const CodePage& cp = csYandex); |
| 68 | |
| 69 | bool StartsWith(const TStringBuf& s, const CodePage& cp = csYandex) const { |
| 70 | return is_prefix(s, *this, cp); |
| 71 | } |
| 72 | |
| 73 | bool EndsWith(const TStringBuf& s, const CodePage& cp = csYandex) const { |
| 74 | return is_suffix(s, *this, cp); |
no outgoing calls