The t processing code provides a facility for extracting any number of characters from an attribute, starting at the position and length specified.
System Processors |
Update, List |
Code Type |
Attribute Defining |
Dictionary Attributes |
Input Conversion, Output Conversion, Correlative |
Syntax
t{start.column,}length |
Parameter(s)
start.column |
Specifies the position for extracting characters from an attribute. If not specified, the extraction begins from the same end of the string as the justification attribute 9, either l (left) or r (right). The start column must be numerical. |
length |
Specifies the length of extracted characters. The length is always counted from left to right, regardless of the justification specified in the attribute-defining item. The length must be a numeric. |
Example(s)
This extracts ten characters, beginning from the third position of the string.
t3,10 |
See Also