BloombergLP::bdlb::String::areEqualCaseless

Return whether two strings compare equal ignoring case.

Synopsis

Declared in <bdlb_string.h>

static
bool
areEqualCaseless(
    bsl::string const& lhsString,
    char const* rhsString,
    int rhsLength);

Description

Return true if the specified lhsString and rhsString of the specified rhsLength compare equal ignoring case, and false otherwise.

Return Value

true if the strings compare equal ignoring case

Parameters

NameDescription
lhsStringthe left-hand string
rhsStringthe right-hand C-style string
rhsLengththe length of rhsString