unirchr
Scans a string in the reverse direction, searching for the last occurrence of a given character
#include <unicode.h>
N_EXTERN_LIBRARY(punicode) unirchr (
const unicode N_FAR *s,
unicode c);
uses netwin32
Function unirchr
(s : const unicode;
c : unicode
) : punicode;
Returns a pointer to the last occurrence of the character specified by the c parameter. NULL is returned if the character specified by the c parameter does not occur in the string pointed to by the s parameter.
unirchr searches for the last occurrence of the character specified by the c parameter in the string pointed to by the s parameter. It considers the NULL terminator to be part of the string.
unirchr corresponds to the C strrchr function.
For sample code, see Section 3.24, Example: unirchr.