Searches a string for the last occurrence of a character.
#include <string.h>
char *strrchr (const char *string, int c); #include <wchar.h&rt;
wchar_t *wcsrchr(const wchar_t *string, wchar_t c);
string
c
The string's terminating null character is included in the search.
Use strchr to find the first occurrence of c
in string.
wcsrchr is the wide-character version of strrchr.
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_tcsrchr | strrchr | wcsrchr |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 INtime 6.0 (for wid-echaracter and generic text versions) |
intime/rt/include/string.h intime/rt/include/wchar.h intime/rt/include/tchar.h |
string.h wchar.h tchar.h |
clib.lib |