📄 char.inc
字号:
<%
function htmlencode(str)
dim result
if isNULL(str) then
htmlencode=""
exit function
end if
result=str
result = replace(result, "&", "&")
result = replace(result, ">", ">")
result = replace(result, "<", "<")
result = replace(result, chr(34),""")
result = replace(result,chr(32)," ",1)
result = replace(result, chr(13)&chr(10), "<BR>",1)
HTMLEncode = result
end function
function HTMLDecode(str)
dim result
if isNULL(str) then
htmlencode=""
exit function
end if
result=str
result = replace(result, ">", ">")
result = replace(result, "<", "<")
result = replace(result," ",chr(32))
result = replace(result, """,chr(34))
result = replace(result, "<BR>", chr(13)&CHR(10))
result = replace(result, "&","&" )
HTMLDecode = result
end function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -