Friday, May 21, 2010

How do you count the number of characters in a variable in PHP?

$x = strlen($string);

How do you count the number of characters in a variable in PHP?
The function is strnlen syntax is strlen($stringVar);


No comments:

Post a Comment