How to count no. of occurrences of a character in a string
How to count no. of occurrences of a character in a string?
Example:-
'BDFHDFLAOKFGJAKGKGL'
If you want to count no. of occurrences for character 'A' in the above string
output should be : 2
Thanks! for your help.
Murali