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);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Return Value

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

Parameters

Name

Description

lhsString

left‐hand string

rhsString

right‐hand string

rhsLength

length of rhsString

lhsLength

length of lhsString

Created with MrDocs