laravel truncate string laravel 8

Solutions on MaxInterview for laravel truncate string laravel 8 by the best coders in the world

showing results for - "laravel truncate string laravel 8"
Aisha
18 Jun 2020
1use Illuminate\Support\Str;
2
3$truncated = Str::limit('The quick brown fox jumps over the lazy dog', 20);
4
5// The quick brown fox...