Strip whitespace from character set