make character predicates (isspace etc) work for strings arguments too (applying to each character in the string)
Merge pull request #4102 from stevengj/stringpredicates

make character predicates (isspace etc) work for strings arguments too