BSFN to check the number of times a char exists in a string

johndanter

johndanter

Legendary Poster
Is there a BSFN that will tell us how many times a certain char is found within a string?

Example

a,b,c,d
has , in it 3 times

I can't seem to find one but I guess I could write one :)

Thanks

John
 
Can't ignore you John - your posts are frequently thought provoking and ultimately useful - just like this one.
 
Back
Top