According to standard SQL, a NULL trimChar returns a NULL result, not an error.