SQUOTE() |
|
|
The SQUOTE() function returns a copy of its argument string enclosed in single quotes. The SQUOTES() function is similar but operates on successive elements of a dynamic array, returning a similarly structured dynamic array of results.
Format
SQUOTE(expr)
where
The SQUOTE() function returns expr enclosed in single quotation marks.
Example
A = SQUOTE('ABC123')
This statement sets A to the eight character string 'ABC123'.
A = 'ABC' : @VM : 'DEF' B = QUOTES(A)
This program fragment encloses each element of dynamic array A in single quotes, storing the result in B as 'ABC'VM'DEF'
See also: |