name | 中文/英文描述 | 分类 | id |
---|---|---|---|
charAt() |
返回在指定位置的字符。
Returns the character at the specified index (position)
|
String | 102 |
charCodeAt() |
返回在指定的位置的字符的 Unicode 编码。
Returns the Unicode of the character at the specified index
|
String | 103 |
concat() |
连接两个或更多的数组,并返回结果。
Joins two or more strings, and returns a new joined strings
|
String | 1 |
concat() |
连接两个或更多字符串,并返回新的字符串。
Joins two or more strings, and returns a new joined strings
|
String | 104 |
fromCharCode() |
将 Unicode 编码转为字符。
Converts Unicode values to characters
|
String | 105 |
includes() |
判断一个数组是否包含一个指定的值。
Checks whether a string contains the specified string/characters
|
String | 11 |
includes() |
查找字符串中是否包含指定的子字符串。
Checks whether a string contains the specified string/characters
|
String | 107 |
indexOf() |
搜索数组中的元素,并返回它所在的位置。
Returns the position of the first found occurrence of a specified value in a string
|
String | 12 |
indexOf() |
返回某个指定的字符串值在字符串中首次出现的位置。
Returns the position of the first found occurrence of a specified value in a string
|
String | 106 |
lastIndexOf() |
搜索数组中的元素,并返回它最后出现的位置。
Returns the position of the last found occurrence of a specified value in a string
|
String | 16 |
lastIndexOf() |
从后向前搜索字符串,并从起始位置(0)开始计算返回字符串最后出现的位置。
Returns the position of the last found occurrence of a specified value in a string
|
String | 108 |
match() |
查找找到一个或多个正则表达式的匹配。
Searches a string for a match against a regular expression, and returns the matches
|
String | 109 |
repeat() |
复制字符串指定次数,并将它们连接在一起返回。
Returns a new string with a specified number of copies of an existing string
|
String | 110 |
replace() |
在字符串中查找匹配的子串, 并替换与正则表达式匹配的子串。
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced
|
String | 111 |
replace() |
用新的文档替换当前文档
Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced
|
String | 168 |
search() |
查找与正则表达式相匹配的值。
Searches a string for a specified value, or regular expression, and returns the position of the match
|
String | 112 |
slice() |
选取数组的的一部分,并返回一个新数组。
Extracts a part of a string and returns a new string
|
String | 24 |
slice() |
提取字符串的片断,并在新的字符串中返回被提取的部分。
Extracts a part of a string and returns a new string
|
String | 113 |
split() |
把字符串分割为字符串数组。
Splits a string into an array of substrings
|
String | 114 |
startsWith() |
查看字符串是否以指定的子字符串开头。
Checks whether a string begins with specified characters
|
String | 115 |
substr() |
从起始索引号提取字符串中指定数目的字符。
Extracts the characters from a string, beginning at a specified start position, and through the specified number of character
|
String | 116 |
substring() |
提取字符串中两个指定的索引号之间的字符。
Extracts the characters from a string, between two specified indices
|
String | 117 |
toLocaleLowerCase() |
根据本地主机的语言环境把字符串转换为小写。
Converts a string to lowercase letters, according to the host's locale
|
String | 121 |
toLocaleUpperCase() |
根据本地主机的语言环境把字符串转换为大写。
Converts a string to uppercase letters, according to the host's locale
|
String | 122 |
toLowerCase() |
把字符串转换为小写。
Converts a string to lowercase letters
|
String | 118 |
toString() |
把数组转换为字符串,并返回结果。
Returns the value of a String object
|
String | 28 |
toString() |
把布尔值转换为字符串,并返回结果。
Returns the value of a String object
|
String | 31 |
toString() |
把 Date 对象转换为字符串。
Returns the value of a String object
|
String | 73 |
toString() |
把数字转换为字符串,使用指定的基数。
Returns the value of a String object
|
String | 100 |
toString() |
返回一个字符串。
Returns the value of a String object
|
String | 124 |