手机
当前位置:查字典教程网 >编程开发 >ASP教程 >ASP常用函数:HTMLDecode
ASP常用函数:HTMLDecode
摘要:

<%

FunctionHTMLDecode(sText)

DimI

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))

ForI=1To255

sText=Replace(sText,""&I&";",Chr(I))

Next

HTMLDecode=sText

EndFunction

%>

【ASP常用函数:HTMLDecode】相关文章:

ASP应用之模板采用

ASP常用函数:CLngIP()

ASP常用函数:Trace()

收集asp的常用函数

在ASP中使用简单Java类

ASP常用函数:XMLEncode

asp 中常用的文件处理函数

ASP 非法字符过滤函数

asp 常用函数用法

[转]ASP常用函数:TimeZone

精品推荐
分类导航