cpp/locale/ctype/scan is

@1@ public member function, calls the protected virtual member function of the most derived class. @2@ Locates the first character in the character array that satisfies the classification mask, that is, the first character  such that  would return.

Return value
Pointer to the first character in that satisfies the mask, or  if no such character was found.