Call to a function trim() on string laravel code example
Example: how to trim string in laravel
{{ \Illuminate\Support\Str::limit($productVal, 20, $end='...') }}
{{ \Illuminate\Support\Str::limit($productVal, 20, $end='...') }}