StringHelper.maxLength() avoid cutting on word boundaries