• 6322阅读
  • 0回复

[asp]替换函数replace问题请教一下[supfrie] [复制链接]

上一主题 下一主题
离线XChinux
 

只看楼主 倒序阅读 楼主  发表于: 2005-07-30
Function text_chg(aBody)
text_chg = replace(aBody,"<","<")
text_chg = replace(text_chg,">",">")
text_chg = replace(text_chg,chr(39),"'")
text_chg = replace(text_chg,chr(34),""")

text_chg = replace(text_chg,chr(13)&chr(10),"<br>")

text_chg = replace(text_chg," "," ")
text_chg = trim(text_chg)
text_chg = replace(text_chg," "," ")
End Function
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
快速回复
限100 字节
 
上一个 下一个