Checks a specified string from the beginning and counts the number of consecutive characters at the beginning that are not included in another string specified.
size_t wcscspn(const wchar_t *s1, const wchar_t *s2);
s1 Pointer to the string to be checked
s2 Pointer to the string used to check s1
Number of characters at the beginning of the s1 string that are not included in the s2 string
The wcscspn function is the wide-character version of the strcspn function.