Loading…

How to calculate the length of a string?

We can calculate the length of a string with strlen() function in PHP.

$var1 = “This is good interview Question”;
echo strlen($var1);

Suggest An Answer

No suggestions avaliable!

Latest post from PHP Strings

Ask Question