wcscspn - get length of a complementary wide substring
#include <wchar.h> size_t wcscspn(const wchar_t *ws1, const wchar_t *ws2);
The wcscspn() function computes the length of the maximum initial segment of the wide-character string pointed to by ws1 which consists entirely of wide-character codes not from the wide-character string pointed to by ws2.
The wcscspn() function returns the length of the initial substring of ws1; no return value is reserved to indicate an error.
No errors are defined.
None.
None.
None.
wcsspn(), <wchar.h>.
Derived from the MSE working draft.