MergeWordRT

Merges the located word with one or more words to the right, on the same line.

Syntax

bool MergeWordRT (StrParam)

Parameters

An integer indicating the number of words to the right, starting from the previously found word or phrase, to be placed into a field. Smart parameters are supported.

Returns

Always True.

Level

Page or field level.

Details

Places the located word or phrase with one or more words to the right, on the same line, into the current object field. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.
Example
WordFind("Jan")
MergeWordRT("1")
UpdateField()

For the cco string, Invoice Date: Jan 2000 , the result of WordFind("Jan") is to locate the highlighted word, Jan, in Invoice Date: Jan. MergeWordRt("1") consolidates that value with the year value to its right, which is Invoice Date: Jan 2000. UpdateField saves the entire value, Jan 2000, which is saved to the calling object field.