In this tutorial you will learn how to replace characters in a String using
Swift. We will be using the following methods replacingOccurrences,
replacingCharacters as well as replaceSubrange.
Replace characters with replacingOccurrences method
The first method we are going to look at is replacingOccurrences. Two things to
note about this