Make StringFormatter trim value