Added string function for removing whitespace chars.