Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - strocc, striocc http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
strocc, striocc

Counts occurrences of a character in a string. striocc() ignores case of letters

Header File.....TCXLstr.h

Prototype.......IntT CTYP strocc(ChrP s, ChrT c);
                IntT CTYP striocc(ChrP s, ChrT c);

Source File.....INC\STROCC.C
                INC\STRIOCC.C

Arguments.......s  -  String to Search
                c  -  Character to search for

Returns.........The number of occurrences of the character in the string.

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