Memory set
#include <stdio.h> #include <string.h> int main(void) { char *p; p = memchr("this is a test", ' ', 14); printf(p); return 0; }