mrdocs::endsWithOneOf

Determine if a string ends with one of the specified characters

Synopsis

Declared in <mrdocs/Support/String.hpp>
constexpr
bool
endsWithOneOf(
    std::string_view s,
    std::string_view chars) noexcept;

Return Value

if a string ends with one of the specified characters

Parameters

Name Description
s The string to check.
chars The characters to check for.

Created with MrDocs