ROPE Language Reference - "isalpha"

"isalpha" means : "does this string consist of letters?".

"isalpha" pops a string off the top of the stack and checks whether every character it contains is a letter. If so: 1 (true) is pushed back onto the stack, otherwise 0 (false) is pushed back.

If the string is empty, the return is 0 (false).

Example:

 "Hello" isalpha println        # -- prints: 1
 "COFFEE" isalpha println       # -- prints: 1
 "COF90" isalpha println        # -- prints: 0
 isalpha( "ABC" ) println       # -- prints: 1
 isalpha( "ABC" "DEF" ) println # -- error! too many arguments
 239 isalpha println            # -- error! not a string

See Also

isalnum, isascii, iscntrl, isdigit, iseoln, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit