Hi guys!
I need of create a function that count the number of specyfic character in a string.
For example: string 'ASSS ' i need to count that in this string there are 3 S.
Do you have some ideas for do this?
Thanks
The following piece of code will...
1. Delete a given char from your string.
2. Use the remaining chars of 1. to delete any char except your given char.
3. Count the number of your given char.
Comments
1. Delete a given char from your string.
2. Use the remaining chars of 1. to delete any char except your given char.
3. Count the number of your given char.
then STRLEN to count what remains
edit : i was too slow :oops:
http://www.BiloBeauty.com
http://www.autismspeaks.org