Determines the number of code elements in a segment.
#include <unidef.h> const UniChar *ucs1; const UniChar *ucs2; size_t result; result = UniStrspn(ucs1, ucs2);