Share
 
 

String Functions Reference (AutoLISP/Express Tools)

Note: Express Tools are supported in AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web.

The following table provides a summary of the AutoLISP Express Tools string functions.

String functions

Platforms

Windows

Mac OS

Web

Function

Description

AutoCAD AutoCAD LT AutoCAD AutoCAD LT AutoCAD

(acet-str-collate left right [matchCase])

Compares for sort order

-- -- -- --

(acet-str-equal left right [matchCase])

Compares strings for equality

-- -- -- --

(acet-str-find find string [ignoreCase [useRegExp]])

Finds a substring in string

-- -- -- --

(acet-str-format format [args ...])

Formats a message with embedded arguments

-- -- -- --

(acet-str-replace find replace string [ignoreCase [useRegExp [count]]])

Replaces one substring with another

-- -- -- --

(acet-str-wcmatch string pattern [matchCase])

Performs a wild-card match similar to wcmatch, but allows control over case sensitivity

-- -- -- --

Was this information helpful?