next up previous 229
Next: TRN_TR1x-Transform 1-dimensional data
Up: Routine Descriptions
Previous: TRN_PTCL-Put classification


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:



next up previous 229
Next: TRN_TR1x-Transform 1-dimensional data
Up: Routine Descriptions
Previous: TRN_PTCL-Put classification

TRANSFORM Coordinate Transformation Facility
Starlink User Note 61
R.F. Warren-Smith
12th January 2006
E-mail:starlink@jiscmail.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils