Character type functions ctype These functions check whether a character or string falls into a certain character class according to the i current locale. When called with an integer argument theese functions behave exactly like their C counterparts. When called with a string argument they will check every character in the string and will only return true if every character in the string matches the requested criteria. Passing anything else but a string or integer will return false immediately. isalnum Check for alphanumeric character(s) Description bool isalnum string c See also setlocale. isalpha Description bool isalpha string c iscntrl Description bool iscntrl string c isdigit Description bool isdigit string c islower Description bool islower string c isgraph Description bool isgraph string c isprint Description bool isprint string c ispunct Description bool ispunct string c isspace Description bool isspace string c isupper Description bool isupper string c isxdigit Description bool isxdigit string c