Everything

wcscspn


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.

[Format]

#include <wchar.h>

size_t wcscspn(const wchar_t *s1, const wchar_t *s2);

[Parameters]

s1 Pointer to the string to be checked

s2 Pointer to the string used to check s1

[Return values]

Number of characters at the beginning of the s1 string that are not included in the s2 string

[Remarks]

The wcscspn function is the wide-character version of the strcspn function.