[#bsl-basic_string-0ce-contains-04] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_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(char16_t character) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#