Use utilx string truncate and toString method