Share

AcString::compareNoCase

C++

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

Description

Compares the string case-independently to another AcString object.

Parameters

Parameters Description
acs Input reference to the other AcString object

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 2024 and earlier

int compareNoCase(const AcString & acs) const;

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

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?