ROPE Language Reference - "isupper"

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

As a special case: if the string is empty, the return is 0.

Example:

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

See Also

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