Your Open Source
Free YourOpenSource Softwares Online Resources and Softwares Downloads with Demo
Related Links
String
Strlen Function in PHP
strlen() function is used to get the length of a given string.
Syntax is strlen(string).
The string parameter is, of course, required.
<?php echo strlen("Very Simple!"); ?>
123456789...
Output:12
Here's another example:
<?php $str = 'Too easy';
echo strlen($str); // 8
$str = ' e a s y ';
echo strlen($str); // 9
?>
65
Aug 02 09 05:42:56
Lazywriter
Rating : 









|
|||
Digg
Yahoo
delicious