wcsspn - get length of a wide substring
#include <wchar.h> size_t wcsspn(const wchar_t *ws1, const wchar_t *ws2);
The wcsspn() 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 from the wide-character string pointed to by ws2.
The wcsspn() function returns the length ws1; no return value is reserved to indicate an error.
No errors are defined.
None.
None.
None.
wcscspn(), <wchar.h>.
Derived from the MSE working draft.