Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
"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
isalnum, isascii, iscntrl, isdigit, iseoln, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]