[#boost-urls-grammar-string_view_base-ends_with-0a]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/string_view_base.adoc[string&lowbar;view&lowbar;base]::ends&lowbar;with
:relfileprefix: ../../../../
:mrdocs:

Return true if a matching suffix exists

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L547[boost&sol;url&sol;grammar&sol;string&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
ends&lowbar;with(core::string&lowbar;view x) const noexcept;
----

== Description

See `core&colon;&colon;string&lowbar;view&colon;&colon;ends&lowbar;with`

== Return Value

`true` if the suffix matches

== Parameters

[cols=2]
|===
| Name
| Description
| *x*
| The string to search for
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
