i need your help to know how to truncate my variable in my template.
this is my code :
<p class="card-text"></p>
i would truncate this variable $new['content'] at 150 characters with '...' at end.
Can you help me please ?
I work on Laravel 5.6
Thanks all ^^
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire