Answers for "php display only 200 characters and put three dots"

PHP
2

php ellipsis

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

Code answers related to "php display only 200 characters and put three dots"

Browse Popular Code Answers by Language