ustrrchr
Finds the last occurrence of a character in a string. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Finds the last occurrence of a character in a string. Allegro game programming library.
#include <allegro.h>
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 for the last occurrence of `c' in `s', or NULL if no match was found.
uconvert(3alleg4), ustrchr(3alleg4), ustrstr(3alleg4), ustrpbrk(3alleg4), ustrtok(3alleg4)