[#BloombergLP-bdlb-StringViewUtil-endsWith-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringViewUtil.adoc[StringViewUtil]::endsWith :relfileprefix: ../../../ :mrdocs: `endsWith` overloads == Synopses Declared in `<bdlb_stringviewutil.h>` Return `true` if the specified `string` ends with the specified `character`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/endsWith-0c.adoc[endsWith]( std::string_view const& string, char character); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/endsWith-0c.adoc[_» more..._]# Return `true` if the specified `string` ends with the specified `characters`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/endsWith-01.adoc[endsWith]( std::string_view const& string, std::string_view const& characters); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/endsWith-01.adoc[_» more..._]# See the overload above for contract. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/endsWith-0e.adoc[endsWith]( std::string_view const& string, char const* characters); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/endsWith-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#