wcsrchr

wcsrchr

Defined in header <wchar.h>
wchar_t* wcsrchr( const wchar_t* str, wchar_t ch );
(since C95)

Finds the last occurrence of the wide character ch in the wide string pointed to by str.

Parameters

str - pointer to the null-terminated wide string to be analyzed
ch - wide character to search for

Return value

Pointer to the found character in str, or 登录查看完整内容