Hey all,
I have a string1: "This is the string"
and I want to replace the word "the" with string2: "not a"
so that string1 becomes "This is not a string"
i know how to use strstr to find the word i want to replace, but i don't know how to actually replace the word with the other string.
How do i do this?
Thanks