Description:
Check if a string is composed of letters.
Syntax:
isalpha(s)
Note:
The function checks if string s is composed of letters. If s is an integer, look it up in the ASCII table to see if the corresponding characters are letters.
Parameter:
s |
A string/ numeric expression |
Return value:
Boolean value
Example:
isalpha("abc") |
true |
isalpha(97) |
true |
isalpha("@#$") |
false |
isalpha("1@23") |
false |
isalpha("a@23") |
false |
Related function: