I want to know how to find and change substring of a string using dictionary in swift.
var string = "I like doggo and cat" let dic = ["doggo&qu