728x90
반응형
Function encode(str)
Set htmlfile = CreateObject("htmlfile")
htmlfile.parentWindow.execScript "function encode(s) {return encodeURIComponent(s)}", "jscript"
encode = htmlfile.parentWindow.encode(str)
End Function
Function decode(str)
Set htmlfile = CreateObject("htmlfile")
htmlfile.parentWindow.execScript "function decode(s) {return decodeURIComponent(s)}", "jscript"
decode = htmlfile.parentWindow.decode(str)
End Function
반응형
댓글