2 "We are happy" 中的空格用%20替代。
? ? 答案: ? str = str.replace(" ","%20");
3:str="http://vbox.hf.openstorage.cn/123.mp3?token=asdasd"; 截取MP3的鏈接。
? 答案:String[] s=str.split(".mp3"); strend = s[0]+".mp3";?
2 "We are happy" 中的空格用%20替代。
? ? 答案: ? str = str.replace(" ","%20");
3:str="http://vbox.hf.openstorage.cn/123.mp3?token=asdasd"; 截取MP3的鏈接。
? 答案:String[] s=str.split(".mp3"); strend = s[0]+".mp3";?