[#bsl-basic_string-0fb-contains-064]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0fb.adoc[basic&lowbar;string&lt;char&gt;]::contains
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
contains(char const* characterString) const;
----


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