PHP strlen() function is used to returns the length of a string i.e number of characters in a string.
Syntax:
strlen(string)
string : Required. Specifies the input string
Example:
<?php
echo strlen("Good Morning");
?>
Output will be:
12
Syntax:
strlen(string)
string : Required. Specifies the input string
Example:
<?php
echo strlen("Good Morning");
?>
Output will be:
12
0 comments:
Post a Comment