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

Create a new string from left or right.

Header File.....TCXLstr.h

Prototype.......ChrP strleft(ChrP s, IntT n);
                ChrP strright(ChrP s, IntT n);

Arguments.......s  -  Input String
                n  -  Number of Character to Copy

Returns.........Address of the newly created string or a NULL if a memory
                allocation error occurred.

Notes...........Takes a specified portion of a string from its left or
                right and creates a new string.  Be sure to free() this
                string if or when you don't need it anymore.

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