C versus C ++ find_first_not_of?
Is there a C function that can do the equivalent of find_first_not_of, getting the search string and character set, and returning the first character in the string and not in the set?
+3 
ExOttoyuhr 
source
to share
      
1 answer
      
        
        
        
      
    
The function strspn
      
        
        
        
      
    will take you most of the way. (You just need to massage the return value a little.)
+5 
Raymond chen 
source
to share