webdev.ramyash@gmail.com

Web Development: Count string length in PHP.


Count string length in PHP

Count string length in PHP.

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





Example:



<?php



echo strlen("welcome");



?>

No comments:

Post a Comment