BloombergLP::bdlb::StringViewUtil::endsWith

Return true if the specified string ends with the specified character, and false otherwise.

Synopsis

Declared in <bdlb_stringviewutil.h>

static
bool
endsWith(
    std::string_view const& string,
    char character);