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