IsAlpha
Determines whether the specified percentage of characters in a located word is letters (defaults to 100%)
Syntax
bool IsAlpha (StrParam)
Parameters
An integer (0-100) indicating the minimum percentage of characters that must be alphabetic. If no value is provided, the percentage defaults to 100; all characters must be alphabetic. Smart parameters are supported.Returns
True if the minimum percentage of characters specified by the parameter is alphabetic. Otherwise, False.Level
Page or field level.Details
Using the current location of a previously located word or phrase, this action determines if the characters are alphabetic. By testing the type of characters recognized in the current word or phrase, it is possible for an application to determine it has located the type of data that is required, and then take subsequent actions based on the result of the test. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.- Example
FindKey(Name) GoRightWord("1") IsAlpha("100")If the located word's recognized value is: ABC1
IsAlpha("75") returns True
IsAlpha("80") returns False