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

Name

Description

lhsString

the left‐hand string

rhsString

the right‐hand C‐style string

rhsLength

the length of rhsString

Created with MrDocs