Search for a character in a string.
#include <strings.h> char *index (const char *s, int c);Function Variants This function also has variants named _index32 and _index64 for use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using pointer-size-specific functions.