📄 string.html
字号:
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#charCodeAtTest(int)">charCodeAtTest</A></B>(int index)</CODE>
<BR>
返回指定字符的 Unicode 编码。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#concat(net.conic.prototype.String)">concat</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> string2)</CODE>
<BR>
返回一个 String 对象,该对象包含了两个提供的字符串的连接</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#escape(net.conic.prototype.String)">escape</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> charstring)</CODE>
<BR>
对 String 对象编码以便它们能在所有计算机上可读</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#escapeHTML()">escapeHTML</A></B>()</CODE>
<BR>
按照HTML标准将字符串的编码返回,如<变成&lt等; prototype增强方法</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#fixed()">fixed</A></B>()</CODE>
<BR>
把 HTML <TT> 标记放置在 String 对象中的文本两端</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#fontcolor(net.conic.prototype.String)">fontcolor</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> color)</CODE>
<BR>
把带有 COLOR 属性的一个 HTML <FONT> 标记放置在 String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#fontsize(int)">fontsize</A></B>(int size)</CODE>
<BR>
把一个带有 SIZE 属性的 HTML <FONT> 标记放置在 String 对象中的文本的两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#fromCharCode(int...)">fromCharCode</A></B>(int... numbers)</CODE>
<BR>
从一些 Unicode 值中回一个字符串。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Hash.</B><B><A HREF="../../../../net/conic/prototype/Hash.html#inspect()">inspect</A></B>()</CODE>
<BR>
侦查方法</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#inspect()">inspect</A></B>()</CODE>
<BR>
将数组成员内容组织成一个字符串返回。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#inspect()">inspect</A></B>()</CODE>
<BR>
检测对象内部状态,多用于调试使用</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#italics()">italics</A></B>()</CODE>
<BR>
把 HTML <I> 标记放置在 String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#join(net.conic.prototype.String)">join</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> separator)</CODE>
<BR>
返回一个 String 对象,这个字符串对象是由整个数组的所有元素连接在一起而形成的。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#link(net.conic.prototype.String)">link</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> href)</CODE>
<BR>
把一个有 HREF 属性的 HTML 锚点放置在 String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#replace(net.conic.prototype.Object, net.conic.prototype.String)">replace</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> regExp,
<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> replaceText)</CODE>
<BR>
返回根据正则表达式进行文字替换后的字符串的复制,但不影响实例本身。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#slice(int, int)">slice</A></B>(int start,
int end)</CODE>
<BR>
返回Array的片段。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#slice(int, int)">slice</A></B>(int start,
int end)</CODE>
<BR>
返回字符串的片段。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#small()">small</A></B>()</CODE>
<BR>
将 HTML 的<SMALL> 标识添加到String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#strike()">strike</A></B>()</CODE>
<BR>
把 HTML <STRIKE> 标记放置在 String 对象中的文本两端</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#stripScripts()">stripScripts</A></B>()</CODE>
<BR>
将字符串中scripts块全部移除。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#stripTags()">stripTags</A></B>()</CODE>
<BR>
将字符串中HTML或者XML标签全部移除的方法。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#sub()">sub</A></B>()</CODE>
<BR>
把 HTML <SUB> 标记放置在 String 对象中的文本两端</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#substr(int, int)">substr</A></B>(int startIndex,
int length)</CODE>
<BR>
返回一个从指定位置开始的指定长度的子字符串。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#substring(int, int)">substring</A></B>(int startIndex,
int endIndex)</CODE>
<BR>
返回一个从指定位置开始的指定长度的子字符串。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -