trim

Removes leading and trailing whitespace.