PHP Programing language

strlen() Functions in PHP
Previous Home Next

strlen()

Strlen() function returns the length of the string.

Syntax :
strlen("string");

Example:

<?php 
echo strlen("Gud Morning");
?> 

 

Output:

11
Previous Home Next