Implementation of is* for strings.

Implementation of isalnum, isalpha, isdigit, islower, isspace, istitle and isupper.
I think this line is dead, since you redefine `i` in the for loop header?