3.28 Example: unispn

   /*  exspn.c - Sample code for unispn. 
           
       Return initial length of first string containing only  
       characters of the second string.  
   */ 
           
   #include <nunicode.h> 
   #include <assert.h> 
   
   void main(void) 
   { 
     nint result; 
      
     result = unispn(L"abcabcxx", L"bac"); 
     assert (result == 6); 
   }