replacingPercentEscapes(using:)

Returns a new string made by replacing in the String all percent escapes with the matching characters as determined by a given encoding.

Declaration

func replacingPercentEscapes(using encoding: String.Encoding) -> String?