Share this page

# Example: isalpha

The following example tests if the characters with the Ascii values 107 and 22 are alphanumeric.

        if (isalpha(107))
             lr_output_message ("The value 107 is %c", 107);
         else
             lr_output_message ("The value 107 is not alphabetic");

        if (isalpha(22))
             lr_output_message ("The value 22 is %c", 22);
         else
             lr_output_message ("The value 22 is not alphabetic");

    Example: Output:
    Action.c(4): The value 107 is k
    Action.c(11): The value 22 is not alphabetic

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: