substr() is used to limit the post length.
Syntax: substr($string,start position,end position)
Example: <?php echo substr(“Hello smarttips”,0,4); ?>
Output:Hello
substr() is used to limit the post length.
Syntax: substr($string,start position,end position)
Example: <?php echo substr(“Hello smarttips”,0,4); ?>
Output:Hello
Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by whitelisting our website.