Strip both leading and tailing whitespace.