Link:  https://devdojo.com/bobbyiliev/how-to-limit-the-length-of-a-string-in-laravel

There are many different ways to limit the length of a string. For example, you could use CSS, JavaScript, or do it through PHP.

Laravel also provides a nice helper to make this easy! We will be using the Str class from Illuminate\Support\Str namespace.

laravel string