Ok, should be a fairly simple thing to do, but it doesn't seem to have a method in the API.
If I have a String like this:
"I go to [WEBSITE] all the time."
I want to be able to replace the phrase [WEBSITE] with something I specify. That phrase could appear several times in the String, and I want to replace it with the same value every time it appears.
I know the String class as a replace method, but it only accepts chars, while I want to replace a phrase instead. My current code just finds the phrase, substrings it out, and replaces it with something else. I feel there has to be a better way.
