Forum Moderators: coopster
I am just trying to count the number of occurrences of a character in a string e.g.
How many times does "a" appear in "Do you want an email notification of replies?"
Is there a PHP function that does this?
Thanks G
Welcome to Webmaster World!
substr_count() [php.net] will do it for you.
PHP Manual Index [php.net]