pc.text.extract

Processing Code/Restore Processor, Releases: AP

Text extraction function.

Syntax

t{startcolumn,}length

Description

provides a facility for extracting any number of characters from an attribute, starting at the position specified in 'startcolumn', for a length of 'length'.

If the startcolumn parameter is not specified, the extraction begins from the same end of the string as the justification attribute (9), either l (left) or r (right).

Columns are always counted from left to right, regardless of the justification specified in the attribute-defining item.

Both parameters must be numeric.

Example

t3,10

This extracts 10 characters, beginning from the 3rd position of the string.

See Also

Command Name Type Description
access.text.extraction Processing Code Text extraction function.
basic.iconv Function Input conversion function.
basic.oconv Function Output conversion function.
basic.conv.expression Definition An expression which evaluates to a valid processing code.
processing.codes Definition Overview of processing codes.
output-conversion Attribute Defining Item References attribute 14 of a dictionary.
up.input-conversion.adi Processing Code Processing codes available from UP after input.
compile.time.date.stamp.ap Definition Obtaining the internal information about compiles in AP.
compile.time.date.stamp.rp Definition Obtaining the time and date of compiles in R83.
pc Introductory

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.