add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str