兄弟们,救急啊,帮帮我
'/**************************************************
' * 字符串处理类
' * 2008-6-14
' **************************************************
'**************************************************/
' <summary>
' 过滤html为text
' </summary>
'<param name="text">字符串</param>
'<param name="full">是否是过滤html标签</param>
Function HTML2Text(text ,full)
Dim temp
temp = text
temp = Replace(temp ," " ," ")
temp = Replace(temp ,Chr(10) ,"<br />")
temp = Replace(temp ,"'" ,"'")
If full <> 1 And full <> True Then
temp = Replace(temp ,"<" ,"<")
temp = Replace(temp ,">" ,">")
End If
HTML2Text = temp
End Function
' <summary>
' 还原text为html
' </summary>
'<param name="html">html数据</param>
Function Text2HTML(html)
Dim temp
temp = html
tmep = Replace(temp ,"<br />" ,Chr(10))
temp = Replace(temp ," " ," ")
temp = Replace(temp ,"'" ,"'")
temp = Replace(temp ,"<" ,"<")
temp = Replace(temp ,">" ,">")
Text2HTML = temp
End Function
我写的上述代码就是为了处理一些字符 ,可是回车和换行的时候总是不行啊 。。
大家在asp中处理回车换行有什么心得或者代码? 拿出来能分享下吗?(我用的textarea)
帮帮忙,谢谢大家了
...全文
相关推荐
l7救急专用包
**设备兼容性**:确保救急包与你的小7设备兼容是非常重要的。不同的设备型号可能需要不同的降级方法,因此用户需要确认救急包是否适合自己的设备。10.
recovery,安卓救急twrp
recovery,安卓救急twrp,安卓最好的rce,
单点crm救急软件
单点crm救急软件:后台下载更新包后无法正常使用的请先下载update.php,覆盖至general/ERP/databackup/下 即可进行更新。
消防控制中心值班负责人灭火救急职责.doc
通讯联络是火灾救急过程中的生命线,值班负责人必须组织并确保现场、消防控制中心、火场指挥员与各班组之间的通讯畅通无阻。
行业分类-设备装置-一种救急手机支付方法及系统.zip
从压缩包内的文件名称“一种救急手机支付方法及系统.pdf”来看,我们可以预期文档将详细介绍这个救急手机支付系统的具体工作原理、实施步骤和可能的应用场景。它可能涵盖了以下几个方面的知识点:1.


