Share

AcString::collate

C++

Adesk::Int32 collate(
    const wchar_t * pwsz
) const;

Description

Compares the string to another string using collation.

Parameters

Parameters Description
pwsz Input pointer to the string of characters to compare to

Returns

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

Links

AcString

Previous Declaration

AutoCAD 2017 through AutoCAD 2024

ACBASE_PORT int collate (const wchar_t *pwsz) const;

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?