:relfileprefix: ../../../ [#boost-urls-decode_view-ends_with-0d] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/decode_view.adoc[pass:[decode_view]]::ends_with Checks if the string ends with the given prefix === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool ends_with(char ch) const noexcept; ---- === Description [,cpp] ---- assert( decode_view( "Program%20Files" ).ends_with('s') ); ---- === Constant. === Throws nothing.