Is there a C function which can do the equivalent of find_first_not_of, receiving a string to search and a set of characters and returning the first character in the string that’s not of the set?
Is there a C function which can do the equivalent of find_first_not_of, receiving a
Share
The
strspnfunction will get you most of the way there. (You just have to massage the return value a bit.)