0
我保存的NSString這個URL字符串替換:在URL字符串檢測特定字符,並用另一個字符
NSString *currentURL = self.webView.request.URL.absoluteString;
https://www.tripresso.com/cooperation/toyota?utm_source=cooperation&utm_medium=toyota&utm_campaign=toyota_app?dxid=7019b21e-bd3b-4bde-8917-f353149bdda4&appid=com.hotai.toyota.citydriver.official
正如你可以看到有這個字符串是2 ?
。我的問題是我怎樣才能用&
替換第二個?
?