2022.2

Table Of Contents
right
Numberthatrepresentsthedistance,measuredincharacters,fromtheleftedgeofthepagetotheright
edgeoftherectangularregion.
verticalOffset
Numberthatrepresentsthecurrentverticalposition,measuredinlines.
regionHeight
Numberthatrepresentsthetotalheightoftheregion,measuredinlines.
SettingtheregionHeightto0instructstheDataMappertoextractalllinesstartingfromthegivenpos-
itionuntiltheendoftherecord.
Specifyinganextractionheightthatislongerthanthenumberofremaininglinesresultsina"stepoutof
bound"errormessage.
separator
Stringinsertedbetweenalllinesreturnedfromtheregion.Ifyoudon'twantanythingtobeinserted
betweenthelines,specifyanemptystring("").
Tip:
l
"<br/>"isaveryhandystringtouseasaseparator.Whentheextracteddataisinsertedin
aDesignertemplate,"<br/>"willbeinterpretedasalinebreak,because<br/>isaline
breakinHTMLandDesignertemplatesareactuallyHTMLfiles.
l
SettingtheregionHeightto0makesitpossibletoextractavariablenumberoflinesatthe
endofarecord.
Examples
Example1:
Thescriptcommanddata.extract(1,22,8,1,"<br>");meansthattheleftpositionoftheextractedinform-
ationislocatedatcharacter1,therightpositionatcharacter22,theoffsetpositionis8(sincetheline
numberis9)andtheregionHeightis1(toselectonly1line).Finally,the"<br>"stringisusedforcon-
catenation.
Page 376