求助:关于replace函数的问题!
想把字串“style="”替换成“style="font”,用replace时不知道怎样处理引号,replace(string,"style="","style="font")肯定是不行,我试过replace(string,"style=chr(34)","style=chr(34)font"),这样也不行,到底这个引号该怎样处理呢??
想把字串“style="”替换成“style="font”,用replace时不知道怎样处理引号,replace(string,"style="","style="font")肯定是不行,我试过replace(string,"style=chr(34)","style=chr(34)font"),这样也不行,到底这个引号该怎样处理呢??
2007-05-12 22:42
replace(string,"style="& Chr(34),"style="& Chr(34) &"font")
另外提醒下,变量名要尽量避免使用VB脚本的保留字,string是不可一作为变量名的

2007-05-13 11:05
2007-05-13 13:27
2007-05-13 13:32