PHP substr() Function

PHP substr() Function

Sometime we need to show, less information for a card or details short view. When we click more or read more page, then it's will show the full content. So for this requirement, we can use PHP substr() function.

so it's same to same at php 8 & laravel LTS

substr($variableNameForDetails, 0, 20);

if you face any problem or any advice for me, please leave a message at facebook.com/picchinobita