How To Count The Characters In Laravel

[Solved] How To Count The Characters In Laravel | Php - Code Explorer | yomemimo.com
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

Answers related to how to count the characters in laravel

Code Explorer Popular Question For Php