首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::wcsrchr

Defined in header <cwchar>

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如果找不到这样的角色。

另见

wcschr

finds the first occurrence of a wide character in a wide string (function)

strrchr

finds the last occurrence of a character (function)

rfind

find the last occurrence of a substring (public member function of std::basic_string)

c Wcsrchr文件

代码语言:txt
复制
 © cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券