[#BloombergLP-bdlb-StringViewUtil-endsWith-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringViewUtil.adoc[StringViewUtil]::endsWith
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `string` ends with the specified `character`, and `false` otherwise&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;stringviewutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
endsWith(
    std::string&lowbar;view const& string,
    char character);
----


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