I\'ve been trying to write a replace function in C (similar to Python\'s str.replace()). So far I\'ve gotten this
replace
str.replace()