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

Rotates a string.

Header File.....TCXLstr.h

Prototype.......ChrP CTYP strrol(ChrP s, IntT n);
                ChrP CTYP strror(ChrP s, IntT n);

Source File.....STR\STRROL.C
                STR\STRROR.C

Arguments.......s  -  String to Rotate
                n  -  Count to Rotate

Returns.........Address of the modified string

Notes...........Rotates a string specified number of characters left or
                right.  The rotated characters wrap around to the opposite
                side of the string.

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