Question :: how to remove + from my string urlURL
Problem :: while calling api iAPI I am getting + symbol at the end of urlURL so how can iI remove that +
hereHere is my code which removing space:
extension String { func encodeURL() -> String { return self.stringByAddingPercentEncodingWithAllowedCharacters(.URLHostAllowedCharacterSet())! } }