Return true if the specified string ends with the specified character, and false otherwise.
Declared in <bdlb_stringviewutil.h>
static
bool
endsWith(
std::string_view const& string,
char character);
true if string ends with character, and false otherwise
| Name | Description |
|---|---|
| string | string view to test |
| character | trailing character to match |