2018.1

Table Of Contents
A region object. What type of object this is depends on the type of source data, however in
any case the region object can be created with a call to region.createRegion(); see
"Example" on page339.
Example
This script retrieves all text from the Email_Address field in a CSV or database file.
boundaries.get(region.createRegion("Email_Address"));
getVariable()
Method that retrieves the value currently stored in a variable.
Note
Boundary variables are carried over from one iteration of the Boundaries script to the next, while
native JavaScript variables are not.
getVariable(varName)
varName
String name of the variable from which the value is to be retrieved. If the variable does not
exist, the value null is returned. It is considered good practice (almost mandatory, even) to
always check whether a variable is defined before attempting to access its value.
set()
Sets a new DataMapper record boundary.
set(delimiters)
delimiters
Sets a new record boundary. The delimiters parameter is an offset from the current delimiter,
expressed in an integer that represents a number of delimiters.
If this parameter is not specified, then a value of 0 is assumed. A value of 0 indicates the
record boundary occurs on the current delimiter.
A negative value of -n indicates that the record boundary occurred -n delimiters before the
current delimiter.
Page 320