[#boost-urls-grammar-string_view_base-contains-04] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/string_view_base.adoc[string_view_base]::contains :relfileprefix: ../../../../ :mrdocs: Return true if matching characters are found == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L954[boost/url/grammar/string_view_base.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool contains(char c) const noexcept; ---- == Description See `core::string_view::contains` == Return Value `true` if the string contains the character, otherwise `false` == Parameters [cols=2] |=== | Name | Description | *c* | The character to search for |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#