Sorry, I meant if the substring you want to remove occurs more than once in a string. Like removing the first "wer" from "qwertyqwertyqwerty".