Swift - Replacing emojis in a string with whitespa

2019-04-13 00:35发布

问题:

I have a method that detects urls in a string and returns me both the urls and the ranges where they can be found. Everything works perfectly until there are emojis on the string. For example:

"I'm gonna do this callenge as soon as I can swing again