Returns whether given ASCII strings piece1 and piece2 are equal, ignoring case in the comparison.

Synopsis

Declared in <absl/strings/match.h>

bool
EqualsIgnoreCase(
    std::string_view piece1,
    std::string_view piece2) noexcept;

Return Value

true if the strings are equal ignoring case, false otherwise.

Parameters

Name

Description

piece1

The first string to compare.

piece2

The second string to compare.

Created with MrDocs