Only stripping leading and trailing whitespace from location