only strip beginning and trailing spaces from tcn value in search