From: b.Wurm on
how can I write a server.htmlDecode function?

thank you


From: Steven Burn on
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" <Bernhard(a)eworx.at> wrote in message news:#Y5vmw2aFHA.616(a)TK2MSFTNGP12.phx.gbl...
> how can I write a server.htmlDecode function?
>
> thank you
>
>

From: McKirahan on
"b.Wurm" <Bernhard(a)eworx.at> wrote in message
news:#Y5vmw2aFHA.616(a)TK2MSFTNGP12.phx.gbl...
> how can I write a server.htmlDecode function?
>
> thank you

"Steven Burn" didn't credit the source:
http://flangy.com/dev/asp/urldecode.html


From: Steven Burn on
My apologies (C&P'd to a local file a while ago, but didn't bookmark the URL I got it from)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"McKirahan" <News(a)McKirahan.com> wrote in message news:J6ydnVrei7q2WjjfRVn-qw(a)comcast.com...
> "b.Wurm" <Bernhard(a)eworx.at> wrote in message
> news:#Y5vmw2aFHA.616(a)TK2MSFTNGP12.phx.gbl...
> > how can I write a server.htmlDecode function?
> >
> > thank you
>
> "Steven Burn" didn't credit the source:
> http://flangy.com/dev/asp/urldecode.html
>
>