BloombergLP::bdlb::String::upperCaseCmp

Compare two strings as if both were converted to upper case.

Synopses

Declared in <bdlb_string.h>

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    bsl::string const& lhsString,
    bsl::string const& rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    bsl::string const& lhsString,
    char const* rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    bsl::string const& rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    char const* rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    bsl::string const& lhsString,
    char const* rhsString,
    int rhsLength);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    int lhsLength,
    bsl::string const& rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    int lhsLength,
    char const* rhsString);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    char const* rhsString,
    int rhsLength);
» more...

Compare two strings as if both were converted to upper case.

static
int
upperCaseCmp(
    char const* lhsString,
    int lhsLength,
    char const* rhsString,
    int rhsLength);
» more...

Return Value

1, 0, or -1 as lhsString is greater, equal, or less

Parameters

NameDescription
lhsStringleft-hand string
rhsStringright-hand string
rhsLengthlength of rhsString
lhsLengthlength of lhsString