Codec Fun

How to use TRIM in nested if conditional expression in SSIS derived column