Implementation of is* for strings.

Implementation of isalnum, isalpha, isdigit, islower, isspace, istitle and isupper.