isAlpha

Summary

Checks if the character is an alphabetic character.

Usage

public bool isAlpha()

Returns

'true' if the character is an alphabetic character and 'false' otherwise.

Description

Checks if the character value is an alphabetic character ranging from A-Z and a-z.

Examples

Check if a character is alphabetic
1
2
3
`a`.isAlpha(); // true
`i`.isAlpha(); // true
`3`.isAlpha(); // false

Share

HTML | BBCode | Direct Link