Splits the string into words (all white space is removed).