charAt() 方法可返回指定位置的字符。
stringObject.charAt(index)
charAt 作用:返回字符串(index)为下标参数:str.charAt(index) charCodeAt ...
charAt() 语法 stringObject.charAt(index) 功能 返回 stringObject...
str.charAt( index )"micromajor".charAt(0) // =>"m" str.i...
StringBuffer常见方法:charAt(index) setChat(index,value)substr...
字符串对象的方法:charAt()语法:stringObject.charAt(index)功能:返回string...
String .prototype .charAt() charAt()方法从字符串返回指定的字符。 index0...
str.charCodeAt(index) 返回索引index的字符编码str.charAt(index) 返回索...
一、字符串对象的方法 1.charAt() 语法:stringObject.charAt(index)功能:返回...
常用方法: 1、charAt(index):获取指定位置的 字符; * index:下标值 2、concat(...
本文标题:charAt(index)
本文链接:https://www.haomeiwen.com/subject/nvkvxxtx.html
网友评论