Function URLDecode(sDec)
dim objRE
set objRE = new RegExp
sDec = Replace(sDec, "+", " ")
objRE.Pattern = "%([0-9a-fA-F]{2})"
objRE.Global = True
URLDecode = objRE.Replace(sDec, GetRef("URLDecodeHex"))
End Function
'// Replacement function for the above
Function URLDecodeHex(sMatch, lhex_digits, lpos, ssource)
URLDecodeHex = chr("&H" & lhex_digits)
End Function
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"b.Wurm" <Be******@eworx.at> wrote in message news:#Y*************@TK2MSFTNGP12.phx.gbl...
how can I write a server.htmlDecode function?
thank you