Return whether this string ends with the specified sequence.
Synopses
Declared in <bslstl_string.h>
Return whether this string ends with the specified sequence.
bool
ends_with(CHAR_TYPE character) const noexcept;
Return whether this string ends with the specified sequence.
bool
ends_with(basic_string_view<CHAR_TYPE, CHAR_TRAITS> characterString) const noexcept;
Return whether this string ends with the specified sequence.
bool
ends_with(CHAR_TYPE const* characterString) const;
Return Value
true if this string ends with the sequence, otherwise false
Parameters
Name |
Description |
character |
character value |
characterString |
pointer to characters |
Created with MrDocs