Changed the deleteWhitespace method to delete according to Character.isWhitespce Renamed the existing deleteWhitespace functionality to deleteSpaces. This is in accordance with Character.isSpace. Submitted by: Steve Downey's idea