I think trim should only touch the beginning and end of the string