I have a string and I'm trying to find out if it's a substring in another word.
For instance(pseudocode)
say I have string "pp"
and I want to compare it (using strncmp) to
happy
apples
pizza
and if it finds a match it'll replace the "pp" with "xx"
changing the words to
haxxles
axxles
pizza
is this possible using strncmp?