# t (text extraction) processing code

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

- [Conversion expression](https://d3codex.com/pickbasic-flashbasic/conversion-expression/)
- [iconv() function](https://d3codex.com/pickbasic-flashbasic/iconv-function/)
- [Processing codes (Update processor)](https://d3codex.com/updateprocessor/processing-codes-update-processor/)
- [oconv() function](https://d3codex.com/pickbasic-flashbasic/oconv-function/)
- [output-conversion](https://d3codex.com/attributedefiningitem/output-conversion/)
- [Processing codes overview](https://d3codex.com/processingcodes/processing-codes-overview/)

---
Source: https://d3codex.com/processingcodes/t-text-extraction-processing-code/ - part of the D3Codex reference.
