Truncate line of text