charAt(index) index表示字元在字串中的索引值: javascript const str = 'hello'; ... substr()、substring()和slice() 方法都可以用來擷取字串。
確定! 回上一頁