Search This Blog

Friday, 23 January 2015

Count string length in PHP.

The strlen() function returns the length of a string.





Example:



<?php



echo strlen("welcome");



?>

No comments:

Post a Comment