String length in php
To find the string length in php
just use
<?
$a=”shanmugam”;
$b=strlen($a);
echo $b; //will display length of the string
?>
Output:
9
This entry was posted on Sunday, June 8th, 2008 at 2:44 am and is filed under Php. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.