I am getting I\\U00b4m
in place of I'm
. How to decode or replace this \\U00b4
from string ?
I\\U00b4m looking for the only one man in my life.
I am getting I\\U00b4m
in place of I'm
. How to decode or replace this \\U00b4
from string ?
I\\U00b4m looking for the only one man in my life.
Easy way:
let aString = "This is my string"
let newString = aString.replacingOccurrences(of: "\U00b4", with: "", options: .literal, range: nil)
More info in here: Any way to replace characters on Swift String?