Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
wcsrchr - Get last occurrence of wide character in wide character string
&pagelevel(4)&pagelevel
Definition | #include <wchar.h> wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc); wcsrchr searches for the last occurrence of character wc in the wide character string ws and returns a pointer to the located position in ws if successful.
The terminating null wide-character code (\0) is considered part of the wide character string. |
Return val. | Pointer to the position of wc in the wide character string ws |
|
| if successful. |
| NULL pointer | if wc is not contained in the wide character string ws. |
Notes | This version of the C runtime system only supports one-byte characters as wide character codes. The following two prototypes of the wcsrchr function are applicable to C++: const wchar_t* wcsrchr(const wchar_t *ws, wchar_t wc); wchar_t* wcsrchr( wchar_t *ws, wchar_t wc); |
See also | strrchr, wcsch |