Guys,

How would I go about counting the occurance of a certain character in a given string?

Looking at the string.compare function but cant quite get my head around it.

Thanks
Bob