Return true if this view contains with the specified subview, and false otherwise. See {Lexicographical Comparisons}.

Synopsis

Declared in <bslstl_string.h>

bool
contains(basic_string_view<CHAR_TYPE, CHAR_TRAITS> subview) const noexcept;

Return Value

true if the sequence occurs in this string, otherwise false

Parameters

Name

Description

subview

string view to search for

Created with MrDocs