0
Sir how to use sub str() and str len() on the function.? Thank you.
2 Answers
+ 1
<?php
$name = 'Dexter';
echo strlen($name);
//otputs 6 (how many symbols in $name?)
echo strlen('Dexter Enriqe');
//outputs 13 (space a symbol too)
?>
http://php.net/manual/en/function.substr.php
0
thank you once again.