Checks if the string ends with the given prefix

Synopses

Checks if the string ends with the given prefix

bool
ends_with(core::string_view s) const noexcept;

Checks if the string ends with the given prefix

bool
ends_with(char ch) const noexcept;

Return Value

  • true if the decoded string ends with s

  • true if the decoded string ends with ch

Parameters

Name

Description

s

The string to search for

ch

The character to search for

Created with MrDocs