strips leading and trailing white spaces from the input and strip set of supplied characters from the ends of the string