broken cc sims 4

c program to remove first occurrence of a word from string