check if string in string c
snippet in c

check if string in string c

user3421

if(strstr(sent, word) != NULL) {
    /* ... */
}