Compares strings for equality.
Supported Platforms: AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web
Signature
(acet-str-equal left right [matchCase])
- left
-
Type: String
The first string to compare.
- right
-
Type: String
The second string to compare.
- matchCase
-
Type: T or nil
If provided and non-nil, indicates that case sensitive comparison should be used. Normally case is ignored.
Return Values
Type: T or nil
Returns T if the strings are identical, otherwise nil. Also returns nil if either of the first two arguments are not strings. Displays a usage message if less than two arguments are supplied.
Remarks
This function uses multibyte comparison appropriate for the current codepage.