Share

AcString::collate

C++

Adesk::Int32 collate(
    const AcString & acs
) const;

Description

Compares the string to another AcString object using collation.

Parameters

Parameters Description
acs Input AcString object to compare to

Returns

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

Links

AcString

Previous Declaration

AutoCAD 2017 through AutoCAD 2024

int collate(const AcString & acs) const;

inline int AcString::collate(const AcString & acs) const;

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?