Asp中显示文章内容时有时会把html标签显示在内容中,而不是表现形式,这里就需要转换:
'*************************************************
'函数名:unencode
'作 用:将html表现出来
'参 数:str ----原字符串
'返回值:截取后的字符串
'*************************************************
function unencode(str)
str=replace(str,"&","&")
str=replace(str,""",chr(34))
str=replace(str,"<","<")
str=replace(str,">",">")
unencode=str
end function