Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - chrcount(<c character>, <c string>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHRCOUNT(<C character>, <C string>)
 Evaluates how many times a specified character occurs in a string.
 Returns <expN> number of times <character> occurs in <string>.

 If LEN(<character>) is greater than 1, only the first character
 is looked at.

 Distinguishes between uppercase and lowercase alpha characters.

 CHRCOUNT( "a", "AAABBaCdda" ) returns 2
 CHRCOUNT( "b", "AAABBaCdda" ) returns 0
 CHRCOUNT( "A", "AAABBaCdda" ) returns 3
 CHRCOUNT( "C", "AAABBaCdda" ) returns 1


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: ATLAST() ATNEXT() CHRFOUND()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson