Page 1 of 1

Is there a function to count num of characters in a string?

Posted: Tue Jan 02, 2007 7:16 pm
by impulse()
For example:

Code: Select all

$string = "Hello, my name is Stephen!";

echo countFunction($string);
Output: 26

Regards,

Posted: Tue Jan 02, 2007 7:20 pm
by RobertGonzalez