Hello Diana,

Tuesday, June 8, 2004, 11:11:27 AM, you wrote:

DC> what function can I use to count the number of occurences of a certain
DC> character in a string?

substr_count or count_chars would work.

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I am not young enough to know everything." - Oscar Wilde

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to