Using the Trim functions in the Smart Tool