:relfileprefix: ../../../../
[#boost-urls-grammar-string_view_base-starts_with]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::xref:boost/urls/grammar/string_view_base.adoc[pass:[string_view_base]]::starts_with

  


Return true if a matching prefix exists



=== Synopsis
  

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/starts_with-06.adoc[pass:[starts_with]](core::string_view x) const noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/starts_with-0b.adoc[pass:[starts_with]](char x) const noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/starts_with-0d.adoc[pass:[starts_with]](char const* x) const noexcept;
----
  
=== Description


See `core::string_view::starts_with`








