2011

Table Of Contents
String-Handling Functions
The expression evaluator supports the following string-handling functions.
The words in italics can be replaced by an actual value or a variable.
DescriptionExpression
Returns a string where all alphabetic characters have
been converted to uppercase or lowercase.
(strcase string [which] )
Returns a string that is the concatenation of multiple
strings.
(strcat string1 [string2] ...)
Returns an integer that is the number of characters
in a string.
(strlen [string] ...)
Returns a substring of a string.(substr stringstart [length] )
Returns the conversion of an integer representing an
ASCII character code into a single-character string.
(chr integer)
ads the beginning of a string with spaces until the
string reaches the length specified.
(LPAD stringlength)
ads the end of a string with spaces until the string
reaches the length specified.
(RPAD stringlength)
Trims strings from the beginning, middle, or end of
a string based on the mode. Mode can be B (begin-
(trim string [mode] )
ning), M (middle), or E (end), or any combination.
If no mode is specified, BE is used.
Equality and Conditional Functions
The expression evaluator supports the following equality and conditional
functions. The words in italics can be replaced by an actual value or a variable.
DescriptionExpression
Returns T if all arguments are numerically equal, and
returns nil otherwise.
(= numstr [numstr] ...)
String-Handling Functions | 1543