Return true if this view contains with the specified subview, and false otherwise. See {Lexicographical Comparisons}.
Declared in <bslstl_string.h>
bool
contains(basic_string_view<CHAR_TYPE, CHAR_TRAITS> subview) const noexcept;
true if the sequence occurs in this string, otherwise false
| Name | Description |
|---|---|
| subview | string view to search for |