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]{if $page_title}



[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}


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




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