28,391
社区成员
发帖
与我相关
我的任务
分享
<%
Dim str
str="4F60597D"
response.write decode(str)
Function decode(str)
Dim s,strlen
s=""
strlen=Len(str)
Do While str<>""
s= s & "%u" & Left(str,4)
str=Mid(str,5,strlen)
Loop
decode=unescape(s)
End function
%>
Function DecodeStr(s)
With New RegExp
.Pattern = "[\da-fA-F]{4}"
.Global = True
DecodeStr = unescape(.Replace(s, "%u$&"))
End With
End Function
Function DecodeStr(s)
With New RegExp
.Pattern = "[\da-fA-F]{4}"
.Global = True
DecodeStr = unescape(.Replace(s, "%u$&"))
End With
End Function
WScript.Echo DecodeStr("4F60597DFF015F889AD851748BA48BC64F603002")
<%
Dim str,s,strlen
s=""
str="4F60597D"
strlen=Len(str)
Do While str<>""
s= s & "%u" & Left(str,4)
str=Mid(str,5,strlen)
Loop
response.write unescape(s)
%>