[#boost-urls-decode_view-ends_with-08]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode&lowbar;view]::ends&lowbar;with
:relfileprefix: ../../../
:mrdocs:

Checks if the string ends with the given prefix

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L379[boost&sol;url&sol;decode&lowbar;view&period;hpp]&gt;`

Checks if the string ends with the given prefix


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:boost/urls/decode_view/ends_with-04.adoc[ends&lowbar;with](core::string&lowbar;view s) const noexcept;
----

[.small]#xref:boost/urls/decode_view/ends_with-04.adoc[_» more&period;&period;&period;_]#

Checks if the string ends with the given prefix


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:boost/urls/decode_view/ends_with-0d.adoc[ends&lowbar;with](char ch) const noexcept;
----

[.small]#xref:boost/urls/decode_view/ends_with-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

* `true` if the decoded string ends with `s`
* `true` if the decoded string ends 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]#
