Method String.trim_whites() Method trim_whites string trim_whites(string s) Description Trim leading and trailing spaces and tabs from the string s.