PHP strlen() Function
The strlen()
function is used to returns the given string of a length.
Syntax
strlen(string)
- String - (Required) Specify the string to check.
Example
<?php echo strlen("Good Morning"); ?>
Output
12