Trim long title strings