類似用途的方法還有substr() 和substring()。 語法: str.slice(beginSlice[, endSlice]). slice() 用來擷取兩個索引位置之間的 ...
確定! 回上一頁