The strlen() function is used to return the length of a string.
Let's find the length of a string:
<?php
echo strlen("Hello world!");
?>
The output of the code above will be:
12
<?php
echo strlen("Hello world!");
?>
12
Copyright. PHP Factory. All Rights Reserved. A Blog by Vipin Cherukara
0 comments:
Post a Comment