Description
Searches the raw tokens on the current data image and returns the offset of the raw token if it is found. Otherwise, it returns zero. If the phrase passed in is an empty string, the function searches for the last valid search phrase, but it starts after the last occurrence it previously returned.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.FindPhrase (strPhrase)
Parameters
Object is a reference to the Application object. For more information, see Application Object (page Application Object).
FindPhrase is the command.
strPhrase is the search string.
Example
nOffset = Application.FindPhrase("CUSTOMER")