[#boost-urls-grammar-string_view_base-starts_with] = 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]::starts_with :relfileprefix: ../../../../ :mrdocs: Return true if a matching prefix exists == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L411[boost/url/grammar/string_view_base.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:boost/urls/grammar/string_view_base/starts_with-06.adoc[starts_with](core::string_view x) const noexcept; ---- [.small]#xref:boost/urls/grammar/string_view_base/starts_with-06.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:boost/urls/grammar/string_view_base/starts_with-0b.adoc[starts_with](char x) const noexcept; ---- [.small]#xref:boost/urls/grammar/string_view_base/starts_with-0b.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:boost/urls/grammar/string_view_base/starts_with-0d.adoc[starts_with](char const* x) const noexcept; ---- [.small]#xref:boost/urls/grammar/string_view_base/starts_with-0d.adoc[_» more..._]# == Description See `core::string_view::starts_with` [.small]#Created with https://www.mrdocs.com[MrDocs]#