check to see if character is in string C code example Example: check if string in string c if(strstr(sent, word) != NULL) { /* ... */ }