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

std::wcscspn

STD::wcscspn

Defined in header
std::size_t wcscspn( 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...

另见

wcsspnreturns the length of the maximum initial segment that consists of only the wide characters found in another wide string (function)
wcspbrkfinds the first location of any wide character in one wide string, in another wide string (function)

c Wcscspn文档

© cppreference.com

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

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