2020.2

Table Of Contents
Methods
The following table describes the functions of the boundaries object. They are available with all
file types.
Method Description Script type
"find()"
below
Finds the first occurrence of a string
starting from the current position.
Boundaries
Preprocessor, Extract,
Condition, Repeat, Action,
and Postprocessor steps
"get()" on
page387
Retrieves an array of strings.
Boundaries
"getVariable
()" on
page387
Retrieves a value of a variable stored in the
boundaries object.
Boundaries
"set()" on
page387
Sets a new record boundary. (See:
"Record boundaries" on page224.)
Boundaries
"setVariable
()" on
page389
Sets a boundaries variable to the
specified value, automatically creating the
variable if it doesn't exist yet.
Boundaries
find()
Method of the boundaries object that finds a string in a region of the data source file. The
method returns the region in which the string was searched (PDF file) or the exact region in
which the string was encountered (Text file).
To check if the call to boundaries.find() was successful, you can read the region object's
property found (see "region" on page406).
Page 385