📄 jsref_obj_string.asp
字号:
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_fontcolor.asp">fontcolor()</a></td>
<td valign="top">Displays a string in a specified color</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_fontsize.asp">fontsize()</a></td>
<td valign="top">Displays a string in a specified size</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_fromCharCode.asp">fromCharCode()</a></td>
<td valign="top">Takes the specified Unicode values and returns a string</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_indexOf.asp">indexOf()</a></td>
<td valign="top">Returns the position of the first occurrence of a specified
string value in a string</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_italics.asp">italics()</a></td>
<td valign="top">Displays a string in italic</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_lastIndexOf.asp">lastIndexOf()</a></td>
<td valign="top">Returns the position of the last occurrence of a specified
string value, searching backwards from the specified position in a string</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_link.asp">link()</a></td>
<td valign="top">Displays a string as a hyperlink</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_match.asp">match()</a></td>
<td valign="top">Searches for a specified value in a string</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_replace.asp">replace()</a></td>
<td valign="top">Replaces some characters with some other characters in a
string</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_search.asp">search()</a></td>
<td valign="top">Searches a string for a specified value</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_slice_string.asp">slice()</a></td>
<td valign="top">Extracts a part of a string and returns the extracted part
in a new string</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_small.asp">small()</a></td>
<td valign="top">Displays a string in a small font</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_split.asp">split()</a></td>
<td valign="top">Splits a string into an array of strings</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_strike.asp">strike()</a></td>
<td valign="top">Displays a string with a strikethrough</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_sub.asp">sub()</a></td>
<td valign="top">Displays a string as subscript</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_substr.asp">substr()</a></td>
<td valign="top">Extracts a specified number of characters in a string, from
a start index</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_substring.asp">substring()</a></td>
<td valign="top">Extracts the characters in a string between two specified
indices</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_sup.asp">sup()</a></td>
<td valign="top">Displays a string as superscript</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_toLowerCase.asp">toLowerCase()</a></td>
<td valign="top">Displays a string in lowercase letters</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a target="_top" href="jsref_toUpperCase.asp">toUpperCase()</a></td>
<td valign="top">Displays a string in uppercase letters</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="jsref_toSource_string.asp">toSource()</a></td>
<td valign="top">Represents the source code of an object</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">-</td>
</tr>
<tr>
<td valign="top"><a href="jsref_valueOf_string.asp">valueOf()</a></td>
<td valign="top">Returns the primitive value of a String object</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">4</td>
</tr>
</table>
<br />
<hr />
<h2>String Object Properties</h2>
<table class="ex" cellspacing="0" border="1" width="100%" id="table7">
<tr>
<th width="23%" valign="top" align="left">Property</th>
<th width="65%" valign="top" align="left">Description</th>
<th width="4%" valign="top" align="left">FF</th>
<th width="4%" valign="top" align="left">N</th>
<th width="4%" valign="top" align="left">IE</th>
</tr>
<tr>
<td valign="top"><a href="jsref_constructor_string.asp">constructor</a></td>
<td valign="top">A reference to the function that created the object</td>
<td valign="top">1</td>
<td valign="top">4</td>
<td valign="top">4</td>
</tr>
<tr>
<td valign="top"><a href="jsref_length_string.asp">length</a></td>
<td valign="top">Returns the number of characters in a string</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">3</td>
</tr>
<tr>
<td valign="top"><a href="jsref_prototype_string.asp">prototype</a></td>
<td valign="top">Allows you to add properties and methods to the object</td>
<td valign="top">1</td>
<td valign="top">2</td>
<td valign="top">4</td>
</tr>
</table>
<br />
<hr />
<!-- **** SPOTLIGHTS 1 **** -->
<iframe src="../banners/aspallframe.asp" height="110" width="485"
marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<hr />
<!-- **** SPOTLIGHTS 2 **** -->
<h2><a target="_blank" href="../../www.altova.com/ref/@s=w3s_spotlight&q=xmlspy">
Altova
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -