ALPHA

ALPHA


ACCESS Index Level AND
Syntax ALPHA( expression )
Category BASIC
Type Function
Description evaluates the expression and returns "1 ("true") if every character in the string is alphabetic (i.e. a-z upper & lower case), or "0" (zero - "false") if any character is non-alphabetic.

The empty (null) string ("") is considered non-alphabetic.
Options
See Also statements & functions MATCH Boolean Evaluation NUM functions
Example if alpha(response) then array(1) = response

If the value of the variable, "response", is made up of only alpha characters, it is assigned to the first element of "array".
Warnings
Compatibility D3 7.0 AP R83
ACCESS Index Level AND