Answers for "how can print string character in php"

PHP
1

php limit string length

if (strlen($str) > 10)
   $str = substr($str, 0, 7) . '...';
Posted by: Guest on July-17-2020
1

print only some characters of a string in php

substr(string,start,length)
Posted by: Guest on July-11-2020

Code answers related to "how can print string character in php"

Browse Popular Code Answers by Language