Rajasthan wins IPL Array Search in php
Jun 08

To find the string length in php

just use

<?

$a=”shanmugam”;

$b=strlen($a);

echo $b; //will display length of the string

?>

Output:

9


                                                                                                

Leave a Reply