cpp/string/byte/memchr

Converts to  and locates the first occurrence of that value in the initial  bytes (each interpreted as ) of the object pointed to by.

Return value
Pointer to the location of the byte, or a null pointer if no such byte is found.

Example
Search an array of characters.