1.URLDecode,URLEncode
//URLEncode
str.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
//URLDecode
str.removingPercentEncoding
//URLEncode
str.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
//URLDecode
str.removingPercentEncoding