• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

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

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
 

Larry_Jones

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