Answers for "c how to see if a string contains a word"

C
2

check if string in string c

if(strstr(sent, word) != NULL) {
    /* ... */
}
Posted by: Guest on February-23-2020

Code answers related to "c how to see if a string contains a word"

Code answers related to "C"

Browse Popular Code Answers by Language