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