I have a long paragraph as a description, in the summary, I want to show just part of that, the first 50 words. This description stored in the database.
So how can I show just the first 50 words of this description? I am using Laravel 5.5.
I call it like that:
<p class="text-danger"> {{$project->description}} </p>