Question : how to count the characters in laravel
Answered by : kaotik
<?php
$str = 'abcdef';
echo strlen($str); // 6
$str = ' ab cd ';
echo strlen($str); // 7
?>
Source : https://www.php.net/manual/en/function.strlen.php | Last Update : Fri, 20 Mar 20