StringUtils add truncate method