It's been a few weeks since I've worked on this issue. Your link references https://developer.apple.com/documentation/foundation/nsstring/1412937-stringbyreplacingoccurrencesofst which seems like it would work but I don't know how to implement that function.
Topic:
Programming Languages
SubTopic:
Swift
Tags: