2021.1

Table Of Contents
Method Description Script type File
type
"find()" on
page411
Finds the first occurrence of a
string starting from the current
position.
Boundaries
Preprocessor, Extract,
Condition, Repeat, Action,
and Postprocessor steps
All
"findRegExp()"
on page412
Finds the first match for a
regular expression pattern
starting from the current
position.
Extract, Condition, Repeat,
Multiple Conditions and
Action steps
Text,
PDF
extract()
Extracts the text value from selected data: a node path, column, or rectangular region,
depending on the type of data source.
This method always returns a String.
extract(left, right, verticalOffset, regionHeight, separator)
Extracts a value from a position in a text file. Coordinates are expressed as characters
(horizontally) or lines (vertically).
left
Number that represents the distance, measured in characters, from the left edge of the page to
the left edge of the rectangular region. The leftmost character is character 1.
right
Number that represents the distance, measured in characters, from the left edge of the page to
the right edge of the rectangular region.
verticalOffset
Number that represents the current vertical position, measured in lines.
regionHeight
Number that represents the total height of the region, measured in lines.
Setting the regionHeight to 0 instructs the DataMapper to extract all lines starting from the
Page 401