Answers for "what is the use of strlen() function in php?"

PHP
1

php strlen

<?php
$str = 'abcde';
echo strlen($str); // 6

$str = ' ab cd ';
echo strlen($str); // 7
?>
Posted by: Guest on November-12-2021

Code answers related to "what is the use of strlen() function in php?"

Browse Popular Code Answers by Language