Share

AcString::compare

C++

Adesk::Int32 compare(
    const char * psz
) const;

Description

Compares the string to a string of narrow chars.

Parameters

Parameters Description
psz Input pointer to the string of narrow chars to compare to

Returns

0 if this string equals psz, a value < 0 if this string is less than psz and a value > 0 if this string is greater than psz.

Remarks

Currently, only Utf8 encoding is supported.

Links

AcString

Was this information helpful?