0

Sir how to use sub str() and str len() on the function.? Thank you.

3rd Apr 2017, 8:51 AM
JESSERSON GEMMON
JESSERSON GEMMON - avatar
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
3rd Apr 2017, 10:13 AM
Emptyman
Emptyman - avatar
0
thank you once again.
3rd Apr 2017, 11:13 PM
JESSERSON GEMMON
JESSERSON GEMMON - avatar