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 - strchg http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
strchg

Finds all letters in a string matching one character
Replaces them with another.  strichg() ignores case when replacing

Header File.....TCXLstr.h

Prototype.......IntT CTYP strchg(ChrP s, ChrT a, ChrT b);
                IntT CTYP strichg(ChrP s, ChrT a, ChrT b);

Source File.....STR\STRCHG.C
                STR\STRICHG.C

Arguments.......s  -  String to Search
                a  -  Character to Search For
                b  -  Character to Replace With

Returns.........The number of matches found.

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