unispn
Finds the first segment of a string consisting entirely of characters from another string
#include <unicode.h> N_EXTERN_LIBRARY(size_t) unispn ( const unicode N_FAR *s1, const unicode N_FAR *s2);
uses netwin32 Function unispn (s1 : const unicode; s2 : const unicode ) : size_t;
Returns the length of the first segment of the string pointed to by the s1 parameter that consists entirely of characters from the s2 parameter.
unispn corresponds to the C strspn function.
For sample code, see Section 3.28, Example: unispn.