[#bsl-basic_string-0faf-ends_with-05] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::ends_with :relfileprefix: ../../ :mrdocs: Return whether this string ends with the specified sequence. == Synopses Declared in `<bslstl_string.h>` Return whether this string ends with the specified sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-0faf/ends_with-0f.adoc[ends_with](CHAR_TYPE character) const noexcept; ---- [.small]#xref:bsl/basic_string-0faf/ends_with-0f.adoc[_» more..._]# Return whether this string ends with the specified sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-0faf/ends_with-09.adoc[ends_with](basic_string_view<CHAR_TYPE, CHAR_TRAITS> characterString) const noexcept; ---- [.small]#xref:bsl/basic_string-0faf/ends_with-09.adoc[_» more..._]# Return whether this string ends with the specified sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-0faf/ends_with-0e.adoc[ends_with](CHAR_TYPE const* characterString) const; ---- [.small]#xref:bsl/basic_string-0faf/ends_with-0e.adoc[_» more..._]# == Return Value `true` if this string ends with the sequence, otherwise `false` == Parameters [cols="1,4"] |=== | Name| Description | *character* | character value | *characterString* | pointer to characters |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#