fixed 方法
时间:2007-12-27 来源:不详 作者:林子
把 HTML <TT> 标记放置在 String 对象中的文本两端。 织梦好,好织梦
strVariable.fixed( )
copyright dedecms
必选项 strVariable 参数为任意的 String 对象或文字。 内容来自dedecms
说明
下面的示例说明了 fixed 方法如何工作:
copyright dedecms
var strVariable = "This is a string object"; strVariable = strVariable.fixed( );
内容来自dedecms
最后一条语句执行完后,strVariable 的值是:
dedecms.com
<TT>This is a string object</TT>
dedecms.com
不检查该标记是否已经被应用于该字符串了。
织梦好,好织梦

文章评论
共有位Admini5网友发表了评论 查看完整内容