C++
Adesk::Int32 compare( const AcString & acs ) const;
Description
Compares the string to an AcString object of Unicode characters.
Parameters
Parameters | Description |
---|---|
acs | Input reference of the other 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
Previous Declaration
AutoCAD 2024 and earlier
int compare(const AcString & acs) const;
inline int AcString::compare(const AcString & acs) const;
History
AutoCAD 2025
Function now returns Adesk::Int32 instead of int.