{fieldname.size} Extracts an attribute of a field's position and size, or length in characters. |
The field and tag parameters (as set up in the Fields dialog – see Defining fields and tags) may be used in composite field expressions. These size attributes (in units defined in the Viewing page of the Configuration dialog) are:
For example, if the value of the field named title is "Miss", then the composite field {title.length} gives the number of characters in title, i.e. "4". Arithmetic operators may be used in composite field definitions, for example |
{fieldname:range} Extracts a range of character(s) from a named field. There are several ways of specifying the range |
|
{field[n]} Extracts the "nth" sub-string from a field. |
The sub-strings must be separated by space character(s). To extract a sub-string which itself includes space character(s), the sub-string must be enclosed in a pair of single or double quotes. For example, if a field named PERSON contained the value |
{field[#n]} Extracts the "nth" line from a multi-line field. |
For example, if ADDRESS were a 4-line field generated by the OCR plugin then |
See also More on defining composite fields.
A composite field (i.e. one defined in terms of other fields) retains its value even if it uses a sub-field of a tag which does not occur on the current page. See also Setting fields file options.
Links
More on defining composite fields
Special fields in composed strings