how to count the characters in laravel

94

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

$str = ' ab cd ';
echo strlen($str); // 7
?>

Comments

Submit
0 Comments