Returns a new string in which all leading and trailing occurrences of a set of specified characters from the current String object are removed.