FindLastWord
Locates the last occurrence of the specified word or phrase on the current page.
Syntax
bool FindLastWord (StrParam)
Parameters
A word or phrase to find on the page. Smart parameters are supported.Returns
True, if the word or phrase is on the page. Otherwise, False.Level
Page level.Details
The current page is searched to find the last occurrence of a word or phrase. The location of the last word or phrase that matches the parameter is remembered and it can be used by subsequent actions.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 that is read is wi11, a match still occurs.
Common substitutions include characters: B8, Z2, S5, oO0, and iItl1
- Example
FindLastWord("Total") GoRightWord("1") IsCurrency()In this example, the action finds the last instance of Total on the current page. Then, it moves right one word and checks to be sure that the word has a Currency value.