Answers for "laravel show less text"

C#
1

laravel show less text

use Illuminate\Support\Str;

$truncated = Str::limit('The quick brown fox jumps over the lazy dog', 20, ' (...)');

// The quick brown fox (...)
Posted by: Guest on April-20-2021

C# Answers by Framework

Browse Popular Code Answers by Language