Share

AcString::compareNoCase

C++

Adesk::Int32 compareNoCase(
    wchar_t wch
) const;

Description

Compares the string case-independently to a single Unicode character.

Parameters

Parameters Description
wch Input character to compare to

Returns

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

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

int compareNoCase(wchar_t wch) const;

inline int AcString::compareNoCase(wchar_t wch) const;

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?