Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - strrchr http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 strrchr

   Usage
   #include <string.h>
   char *strrchr(const char *string,int ch);

   Description
   strrchr finds the last occurrence of character ch in string.

   Example
   #include <stdio.h>
   #include <string.h>
   char string[50] = "Example string";
   main()
   {
        printf("strrchr Example [%s]\n",strrchr(string,'i'));
   }

   Return Value
   Returns a pointer to the occurrence of  ch in string. strrchr  returns
   a NULL pointer if the character ch is not found.


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