[#boost-urls-decode_view-starts_with-04] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode_view]::starts_with :relfileprefix: ../../../ :mrdocs: Checks if the string begins with the given prefix == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L363[boost/url/decode_view.hpp]>` Checks if the string begins with the given prefix [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/decode_view/starts_with-01.adoc[starts_with](core::string_view s) const noexcept; ---- [.small]#xref:boost/urls/decode_view/starts_with-01.adoc[_» more..._]# Checks if the string begins with the given prefix [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/decode_view/starts_with-0b.adoc[starts_with](char ch) const noexcept; ---- [.small]#xref:boost/urls/decode_view/starts_with-0b.adoc[_» more..._]# == Return Value * `true` if the decoded string starts with `s` * `true` if the decoded string starts with `ch` == Parameters [cols=2] |=== | Name | Description | *s* | The string to search for | *ch* | The character to search for |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#