contains overloads
Declared in <bslstl_string.h>
Return true if this view contains with the specified character, and false otherwise.
bool
contains(CHAR_TYPE character) const noexcept;
» more...
Return true if this view contains with the specified subview, and false otherwise. See {Lexicographical Comparisons}.
bool
contains(basic_string_view<CHAR_TYPE, CHAR_TRAITS> subview) const noexcept;
» more...
Return whether this string contains characterString.
bool
contains(CHAR_TYPE const* characterString) const;
» more...
true if the sequence occurs in this string, otherwise falsetrue if characterString occurs in this string| Name | Description |
|---|---|
| character | character value |
| subview | string view to search for |
| characterString | null-terminated substring to search for |