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

std::wcsspn

Defined in header <cwchar>

size_t wcsspn( const wchar_t* dest, const wchar_t* src );

返回所指向的宽字符串的最大初始段的长度。dest,它只包含在宽字符串中所指向的字符。src...

参数

dest

-

pointer to the null-terminated wide string to be analyzed

src

-

pointer to the null-terminated wide string that contains the characters to search for

返回值

所指向的最大初始段的长度,该段仅包含来自宽字符串的字符。src...

另见

wcscspn

returns the length of the maximum initial segment that consists of only the wide not found in another wide string (function)

wcspbrk

finds the first location of any wide character in one wide string, in another wide string (function)

c Wcsspn文档

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

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

扫码关注腾讯云开发者

领取腾讯云代金券