(C++) std::strchr std::strchr is an STL function to find a character in a C-style string. std::strchr is defined in the cstring.h header file. Examples