ustrrchr

Finds the last occurence of a character in a string.

Description

char *ustrrchr(const char *s, int c);
Finds the last occurrence of the character `c' in the string `s'. Example:
      char *p = ustrrchr("one,two,three,four", ',');
Returns a pointer fo the last occurrence of `c' in `s', or NULL if no match was found.

Related Projects

The following projects include source code containing this keyword: