| 341 | |
| 342 | public: |
| 343 | inline bool AfterPrefix(const TdSelf& prefix, TdSelf& result) const noexcept { |
| 344 | if (this->StartsWith(prefix)) { |
| 345 | result = Tail(prefix.size()); |
| 346 | return true; |
| 347 | } |
| 348 | return false; |
| 349 | } |
| 350 | |
| 351 | inline bool BeforeSuffix(const TdSelf& suffix, TdSelf& result) const noexcept { |
| 352 | if (this->EndsWith(suffix)) { |
no test coverage detected