Ive been trying to remove all substring from a given string but my code have a bug which I don\'t know how to resolve. when two substrings are back-to-back my c
substring