BloombergLP::bdlb::String::areEqualCaseless

Return whether two strings compare equal ignoring case.

Synopsis

Declared in <bdlb_string.h>

static
bool
areEqualCaseless(
    char const* lhsString,
    char const* rhsString,
    int rhsLength);

Description

Compare for equality the specified lhsString and rhsString having the optionally specified lhsLength and rhsLength, respectively, as if the strings were converted to lower case before the equality comparison.

Return Value

true if the strings compare equal ignoring case

Parameters

NameDescription
lhsStringleft-hand null-terminated string
rhsStringright-hand string
rhsLengthlength of rhsString