ROPE Language Reference - "ispunct"

"ispunct" pops a single string off the stack and checks whether all the characters it contains are printabletable characters which are not spaces or alphanumeric. 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" ispunct println        # -- prints: 0
 ";" ispunct println            # -- prints: 1
 ispunct( "  " "DEF" )  println # -- error! too many arguments
 239 ispunct println            # -- error! not a string

See Also

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