rindex
---reverse search for character in string#include <string.h> char * rindex(const char *string, int c);Description
This function is identical to strrchr
.
Returns
Returns a pointer to the located character, or a null pointer
if c does not occur in string.
Portability
rindex
requires no supporting OS subroutines.