Returns whether a given ASCII string text ends with suffix, ignoring case in the comparison.

Synopsis

Declared in <absl/strings/match.h>

bool
EndsWithIgnoreCase(
    std::string_view text,
    std::string_view suffix) noexcept;

Return Value

true if text ends with suffix ignoring case, false otherwise.

Parameters

Name

Description

text

The string to test.

suffix

The suffix to look for.

Created with MrDocs