indexOf(), 傳回子字串的位置, "Hello".indexOf("el"), 1. lastIndexOf(), 傳回子字串的位置(倒著掃瞄), "Hello".lastIndexof("l"), 3. match(), 搜尋 ...
確定! 回上一頁