Showing posts with label strlen. Show all posts
Showing posts with label strlen. Show all posts

Sunday, September 14, 2008

The strlen() function

The strlen() function returns the length of string.

Syntax: strlen(string);

Example inputs:

$str1= "A simple PHP program";
echo strlen($str1);