TRN_STOK[x]

Substitute token

Description:

Substitute a value for a token in a text string. The VALUE supplied is formatted as a character string (if necessary) and used to replace all valid occurrences of the TOKEN sub-string in the TEXT supplied. The substitution is not recursive.

Invocation

CALL TRN_STOK[x]( TOKEN, VALUE, TEXT, NSUBS, STATUS )

Arguments

TOKEN = C
The token string.
VALUE = ?
The value to substitute.
TEXT = C
The text to be processed.
NSUBS = I
Number of substitutions made.
STATUS = I
Inherited error status.

Notes: