strstr( ) function: locate a string within a string.
#include <stdio.h> #include <string.h> int main( ) { char *s1="There is always something you miss."; char *s2="way"; printf("%s\n",strstr(s1,s2)); return (0); }