Shorten string in text output.