将 html 的 <sub> 标识放置到 string 对象中的文本两端。
strvariable.sub( )"string literal".sub( )
下面的示例演示了 sub 方法是如何使用的:
var strvariable = "this is a string object";strvariable = strvariable.sub( );在执行上一条语句后 strvariable 的值为:
<sub>this is a string object</sub>不检查该标识是否已应用于该字符串了。
版本 1
string 对象的方法 string 对象的属性 sup 方法
应用于: string 对象
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器