ASP常用函数:HTMLDecode
2018-10-12 14:05
459 查看
<%
Function HTMLDecode(sText)
Dim I
sText = Replace(sText, "&" , Chr(38))
sText = Replace(sText, """", Chr(34))
sText = Replace(sText, "<" , Chr(60))
sText = Replace(sText, ">" , Chr(62))
sText = Replace(sText, " ", Chr(32))
For I = 1 To 255
sText = Replace(sText, "" & I & ";", Chr(I))
Next
HTMLDecode = sText
End Function
%>
Function HTMLDecode(sText)
Dim I
sText = Replace(sText, "&" , Chr(38))
sText = Replace(sText, """", Chr(34))
sText = Replace(sText, "<" , Chr(60))
sText = Replace(sText, ">" , Chr(62))
sText = Replace(sText, " ", Chr(32))
For I = 1 To 255
sText = Replace(sText, "" & I & ";", Chr(I))
Next
HTMLDecode = sText
End Function
%>
您可能感兴趣的文章:
相关文章推荐
- ASP常用函数:HTMLDecode
- ASP常用的函数模块 http://www.cnblogs.com/cnnix/archive/2006/07/16/452286.html
- [导入]ASP常用函数:HTMLFilter()
- ASP常用的几个功能模块封装成函数调用(登录验证,状态切换。。) http://www.tsingfeng.com/archives/?article-89.html
- ASP.NET常用函数表(转载)
- asp 中常用的文件处理函数
- ASP.NET中的27个常用函数
- ASP.NET常用函数大全
- asp常用函数
- ASP常用函数:getpy()
- ASP.NET 程序设计中常用到的一些通用函数 自己的封装 可以做成dll来使用。
- [导入]ASP常用函数:WriteLn() PrintLn()
- ASP常用函数说明(经典!)
- asp.net常用函数
- asp+XMLHTTP组件做采集常用函数收集
- ASP.NET常用函数
- RemoveHtml 去除Html函数,常用哦。。
- ASP常用函数用法
- ASP.NET常用函数(参考用)