WordFind
Locates the first or next occurrence of the specified word or phrase on the current page.
Syntax
bool WordFind (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
Field level only.Details
The current page is searched to find the whole word or phrase. The location of the first word or phrase that matches the parameter is remembered and can be used by subsequent actions. 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 that is read is wi11, a match still occurs.
This action matches whole word values and does not search for parts of words or characters within words.
Common substitutions include characters: B8, Z2, S5, oO0, and iItl1
- Example
WordFind("Sales Tax") GoRightWord("1") IsCurrency() UpdateFieldIn this example, the WordFind action looks for the first occurrence of
Sales Taxwithin the current page, always starting at the first word of the page. If the phraseSales Taxis found, the subsequent actions operate based on the location of the found phrase.