Contents | Prev | Next

7.2.27 The isalpha function

Description

The isalpha function returns a value of type boolean, which indicates whether the parameter passed to it is an alphabetic character. If the parameter is an alphabetic character then the value true is returned, and if the parameter is not an alphabetic character then the value false is returned.

Parameter

The isalpha function's only parameter is an expression of char type.

Example

    isalpha('a')  returns   true
    isalpha('A')  returns   true
    isalpha('1')  returns   false
    isalpha('@')  returns   false
    isalpha('_')  returns   false

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next