JavaScript 在處理網頁文字的字串時,總是難免會用到字串切割的功能,例如有 ... document.write(string.split(" ") + "<br>"); //根據每個空格切開
確定! 回上一頁