Is there a truncate modifier for the blade templates in Laravel, pretty much like Smarty?
I know I could just write out the actual php in the template but i\'m looki
Laravel 6 Update:
@php $value = 'Artificial Intelligence'; $var = Str::limit($value, $limit = 15, $end = ''); print_r($var); @endphp {{ Illuminate\Support\Str::limit($value, 7) }} {!! Str::limit($value, 5) !!}
{{ Illuminate\Support\Str::limit($value, 7) }}