The strlen() function is used to find the length of a string.
Syntax is given below :
strlen(string)
The below example gives you a clear idea :
<?php
echo strlen("Welcome to Devmanuals");
?>
The output of the above code should be :
21
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.