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

Shifts a string.

Header File.....TCXLstr.h

Prototype.......ChrP CTYP strshl(ChrP s, IntT n);
                ChrP CTYP strshr(ChrP s, IntT n);

Source File.....STR\STRSHL.C
                STR\STRSHR.C

Arguments.......s  -  String to Shift
                n  -  Character Count to Shift

Returns.........Address of the Modified String

Notes...........Shifts a string a specified number of characters left or
                right.  Characters that shift past the beginning (or end)
                of the string "drop off" and spaces are added to the right
                (or left) of the string.

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