[#bsl-basic_string-0e-contains-0e]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0e.adoc[basic&lowbar;string&lt;wchar&lowbar;t&gt;]::contains
:relfileprefix: ../../
:mrdocs:

`contains` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

Return `true` if this view contains with the specified `character`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:bsl/basic_string-0e/contains-0c.adoc[contains](wchar&lowbar;t character) const noexcept;
----

[.small]#xref:bsl/basic_string-0e/contains-0c.adoc[_» more&period;&period;&period;_]#

Return `true` if this view contains with the specified `subview`, and `false` otherwise&period; See &lcub;Lexicographical Comparisons&rcub;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:bsl/basic_string-0e/contains-06.adoc[contains](basic&lowbar;string&lowbar;view&lt;wchar&lowbar;t, char&lowbar;traits&lt;wchar&lowbar;t&gt;&gt; subview) const noexcept;
----

[.small]#xref:bsl/basic_string-0e/contains-06.adoc[_» more&period;&period;&period;_]#

Return `true` if this view contains with the specified `characterString`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:bsl/basic_string-0e/contains-00.adoc[contains](wchar&lowbar;t const* characterString) const;
----

[.small]#xref:bsl/basic_string-0e/contains-00.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
