Added TRIM per Geroge Lilly. Documentation updated.