取得長度. length. 取得字串長度; stringObject.length. var str = "Hello world"; console.log(str.length); // 11. 搜尋. indexOf. 從字串前端(或是第fromIndex + 1 ...
確定! 回上一頁