unicspn
Scans a specified string for the initial segment not containing any subset of the given set of characters
#include <unicode.h> N_EXTERN_LIBRARY(size_t) unicspn ( const unicode N_FAR *s1, const unicode N_FAR *s2);
uses netwin32 Function unicspn (s1 : const unicode; s2 : const unicode ) : size_t;
Returns the length of the initial segment of s1 consisting entirely of characters not from s2.
unicspn corresponds to the C strcspn function.
For sample code, see Section 3.15, Example: unicspn.