SYNOPSIS

#include <allegro.h>

char *ustrchr(const char *s, int c);

DESCRIPTION

Finds the first occurrence of the character `c' in the string `s'. Example:

   char *p = ustrchr("one,two,three,four", ',');

RETURN VALUE

Returns a pointer to the first occurrence of `c' in `s', or NULL if no match was found. Note that if `c' is NULL, this will return a pointer to the end of the string.

RELATED TO ustrchr…

uconvert(3alleg4), ustrrchr(3alleg4), ustrstr(3alleg4), ustrpbrk(3alleg4), ustrtok(3alleg4)