Share

AcString::compareNoCase

C++

static Adesk::Int32 compareNoCase(
    const wchar_t * pwsz1, 
    const wchar_t * pwsz2
);

Description

Compares two strings case-independently.

Parameters

Parameters Description
pwsz1 Input pointer to the left-hand string
pwsz2 Input pointer to the right-hand string

Returns

0 if pwsz1 equals pwsz2, a value < 0 if less then and a value > 0 if pwsz1 is greater than pwsz2.

Remarks

Strings compared are converted to lowercase.

Links

AcString

Was this information helpful?