2011-11-13 17 views
5

ho questo codice:stringa di taglio Smarty per aggiungere punti

{if $data|@count gt 0} 

    {section name=field loop=$data} 

    {$data[field].description|substr:0:120}... 

    <hr/> 

    {/section} 

{/if} 

mostra abc123 abc123 a....

Come posso ottenere le parole da non tagliare?

risposta