在线文档教程
C++
字符串 | Strings

std::wcsrchr

STD::wcsrchr

Defined in header
const wchar_t* wcsrchr( const wchar_t* str, wchar_t ch
wchar_t* wcsrchr( wchar_t* str, wchar_t ch

查找宽字符的最后一次出现。ch在宽串中,指的是...str...

参数

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

返回值

中找到的字符的指针。str,或NULL如果找不到这样的角色。

另见

wcschrfinds the first occurrence of a wide character in a wide string (function)
strrchrfinds the last occurrence of a character (function)
rfindfind the last occurrence of a substring (public member function of std::basic_string)

c Wcsrchr文件

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/string/Wide/wcsrchr