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

Name

Description

lhsString

left‐hand null‐terminated string

rhsString

right‐hand string

rhsLength

length of rhsString

Created with MrDocs