[#BloombergLP-bdlb-StringViewUtil-endsWith-01]
= 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 `characters`, 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,
    std::string&lowbar;view const& characters);
----

== Return Value

`true` if `string` ends with `characters`, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *string*
| string view to test
| *characters*
| suffix to match
|===


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