Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to truncate the given string to the specified length in blade.php

#insert this line in blade.php it will truncate your string
#first parameter accept the string to be truncate 
#second parameter accept the lenght 
$third accept waht should print after the truncate string
{{ IlluminateSupportStr::limit($string, 150, $end='...') }}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #truncate #string #length
ADD COMMENT
Topic
Name
7+7 =