注意一點,replace()方法並不會變更原本字串內容,而是傳回一個新的字串。 ... newstr = str.replace(regexp|substr, function[,flags]);.
確定! 回上一頁