QUOTE()

QUOTE(), DQUOTE()

Top  Previous  Next

 

The QUOTE() function returns a copy of its argument string enclosed in double quotes. The DQUOTE() synonym is identical.

 

The QUOTES() and DQUOTES() functions are similar but operate on successive elements of a dynamic array, returning a similarly structured dynamic array of results.

 

 

Format

 

QUOTE(expr)

 

where

 

exprevaluates to the source string.

 

 

The QUOTE() function returns expr enclosed in double quotation marks.

 

 

Examples

 

A = QUOTE('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 double quotes, storing the result in B as

"ABC"VM"DEF"

 

See also:

SQUOTE()