How To Limit Title Tag When Using Breadcrumbs

When the page title is obtained from the breadcrumbs, is there a way to assign the max length to the title tag so it will only display 70 characters?



I have not been able to find the correct syntax. I assume I could assign the results as a variable

and then just truncate the variable to 70 characters.



[color=#006400][/color]

[color=#006400]{if $page_title}

{$page_title|escape:“html”}

{else}[/color]



[color=#800000]{assign var=“articleTitle” value=“[/color] —some syntax to include the breadcrumbs below — [color=#800000]”}[/color]



[color=#006400]{foreach from=$breadcrumbs item=i name=“bkt”}

{if !$smarty.foreach.bkt.first}{$i.title|unescape|strip_tags|escape:“html”}{if !$smarty.foreach.bkt.last} :: {/if}{/if}

{/foreach}

{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title|escape:“html”}{/if}

{/if}[/color]



[color=#800000]{$articleTitle|truncate:70:“”}[/color]



[color=#006400][/color]



I know very little about coding and am hoping someone can help.



Thanks