Let\'s say I have a string like "abcabcabc" and I want the positions of \'a\'s and \'b\'s swapped so that I end up with "bacbacbac"
I use this method when I need to swap long list of characters\words\strings!
The method also prevents strings already replaced to be replaced again, Example:
String = "AAABBBCCC BBB"
Replace "AAABBBCCC" with "BBB", then, "BBB" with "DDD"
Final String = "BBB DDD"
Note that, only "BBB" from the original string is replaced to "DDD"! The "BBB" replaced from "AAABBBCCC" is not re-replaced to "DDD"!