check if a subchar happens in a char code example Example: check if string in string c if(strstr(sent, word) != NULL) { /* ... */ }