在ASP中vbscript 的Replace的语法为:Replace("字符串","要被替代的字符串","替代后的字符串")vbscript中replace()详细说明:功能:在字符串中查找,替代指定的字符串. 格式:replace(strtobesearched,strsearchfor,strreplacewith [,start[,count[,compare]]]) 参数:strtobesearched是字符串; strsearchfor是被查找的子字符串;strreplacewith 是用来替代的子字符串.start,count,compare 是任意选项. 例子:
结果:this is an orange. |