~~~~Contains~~~~ * @returns Whether this string contains the provided substring. */
| 427 | * @returns Whether this string contains the provided substring. |
| 428 | */ |
| 429 | inline bool Contains(const TStringView s, size_t pos = 0) const noexcept { |
| 430 | return !s.length() || find(s, pos) != npos; |
| 431 | } |
| 432 | |
| 433 | inline bool Contains(TChar c, size_t pos = 0) const noexcept { |
| 434 | return find(c, pos) != npos; |