2021.2

Table Of Contents
boundaries
Returns a boundaries object encapsulating properties and methods allowing to define the
boundaries of each document in the job.
This object is available when triggering document boundaries On script.
Properties
The following table lists the properties of the boundaries object.
Property Description
currentDelim A read-only 1-based index (number) of the current delimiter in the file. In
other words, the Beginning Of File (BOF) delimiter equals 1. It indicates
the position of the current delimiter relative to the last document
boundary.
Methods
The following table describes the functions of the boundaries object. They are available with all
file types.
Method Description Script type
"find()" on the
facing page
Finds the first occurrence of a string
starting from the current position.
Boundaries
Preprocessor, Extract,
Condition, Repeat, Action,
and Postprocessor steps
"get()" on
page399
Retrieves an array of strings.
Boundaries
"getVariable()"
on page399
Retrieves a value of a variable stored in
the boundaries object.
Boundaries
"set()" on
page400
Sets a new record boundary. (See:
Boundaries
Page 397