Trim function that is only used once.