Answers for "php check if string has more than one words ...."

PHP
1

php substring if length greater than string them .....

$out = strlen($in) > 50 ? substr($in,0,50)."..." : $in;
Posted by: Guest on July-02-2020

Code answers related to "php check if string has more than one words ...."

Browse Popular Code Answers by Language