An expression that evaluates to a string. The syntax is:

|
Item
|
Description
|
|
literal
|
A string constant composed of any characters available on the keyboard, including those generated with the ANY CHAR key
|
|
string variable name
|
The name of a string variable or the name of a string array from which a string is extracted using subscripts
|
|
subscript
|
A numeric expression used to select an element of an array
|
|
beginning position
|
A numeric expression specifying the position of the first character in a substring (see substring)
|
|
ending position
|
A numeric expression specifying the position of the last character in a substring (see substring)
|
|
substring length
|
A numeric expression specifying the maximum number of characters to be included in a substring (see substring)
|
|
string function keyword
|
A keyword that invokes a machine-resident function which returns a string value. String function keywords always end with a dollar sign ($).
|
|
string function name
|
The name of a user-defined function that returns a string value
|
|
parameter
|
A numeric expression, string expression, or I/O path that is passed to a function
|
|