[#bsl-basic_string-0f3-contains-06] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_t>]::contains :relfileprefix: ../../ :mrdocs: Return `true` if this view contains with the specified `character`, and `false` otherwise. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool contains(char32_t character) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#