FindLastWord_InZone

Locates the last occurrence of the specified word or phrase on the current field.

Syntax

bool FindLastWord_InZone (StrParam)

Parameters

The word or phrase to locate within the current zone. Smart parameters are supported.

Returns

True if the word or phrase is located in the field. Otherwise, False.

Level

Page level.

Details

The current field will be searched to find the word or phrase. The location of the last occurrence of the word or phrase that matches the parameter will be remembered so it can be utilized by subsequent actions. Word matching is case sensitive.

To improve matching, this action automatically adjusts the search criteria to allow for common character substitutions. For example, if the list includes "will" and the recognition read "wi11", a match will still occur.

Common substitutions include characters: B8, Z2, S5, oO0 and iItl1.

Example
FindLastWord_InZone("Total")
GoRightWord("1")
IsCurrency()

This sequence attempts to find the last occurrence of "Total" in the current zone. It then locates and validates a Currency amount for the Total field, assuming the currency amount is to the right of the word "Total".