check output to have a "trim" function