Truncate a Strings

(topic deleted by author)