Does anybody have a function in VBScript to decode URLs?

Thx

YuriW

Re: Decode URLs by Ray

Ray
Thu Oct 23 12:48:44 CDT 2003

Define decode.

Ray at work

"Yuri Weinstein (HotMail)" <yuriw@hotmail.com> wrote in message
news:F2Ulb.5854$9E4.1405@newssvr29.news.prodigy.com...
> Does anybody have a function in VBScript to decode URLs?
>
> Thx
>
> YuriW
>
>



Decode URLs by Tom

Tom
Thu Oct 23 12:51:39 CDT 2003

I think you want the unescape method, even though the
documentation suggests it's only available from Jscript.

wsh.echo "for example:", unescape("url%20text")

Tom Lavedas
===========

>-----Original Message-----
>Does anybody have a function in VBScript to decode URLs?
>
>Thx
>
>YuriW


Re: Decode URLs by Yuri

Yuri
Thu Oct 23 13:12:07 CDT 2003

Yes, I want to decode URL like this:

uberreport?selectedTab=&positionY=0&report=%28UberReport%2Cnull%2Creport%2C%
28%28%28%2Fcom%2Fmerced%2Freports%2Fview%2Fyardsticks%2Fenhanced%2FQuarterMe
anYardStick%29%2Cfalse%2Cfalse%2Cnull%29%2C%28%28%2Fcom%2Fmerced%2Freports%2
Fview%2Fyardsticks%2Fenhanced%2FCenterMeanYardStick%2C%2Fcom%2Fmerced%2Frepo
rts%2Fview%2Fyardsticks%2FStackRankYardStick%29%2Ctrue%2Ctrue%2Cnull%29%2C%2
8%28%2Fcom%2Fmerced%2Freports%2Fview%2Fyardsticks%2FMeanYardStick%29%2Ctrue%
2Ctrue%2Cnull%29%29%2Ctrue%2Ctrue%2C0%2Cfalse%2C%2Fcom%2Fmerced%2Fcharts%2Ft
ypes%2FBarChart%2C%2Fcom%2Fmerced%2Fcharts%2FMercedChartManager%



Into a nornal view.

Tom, unescape does th ejon, however it cuts my string off. Do you nkw why?

Thx


"Tom Lavedas" <tlavedas@hotmail.remove.com> wrote in message
news:022a01c3998e$4f659910$a301280a@phx.gbl...
> I think you want the unescape method, even though the
> documentation suggests it's only available from Jscript.
>
> wsh.echo "for example:", unescape("url%20text")
>
> Tom Lavedas
> ===========
>
> >-----Original Message-----
> >Does anybody have a function in VBScript to decode URLs?
> >
> >Thx
> >
> >YuriW
>



Re: Decode URLs by Yuri

Yuri
Thu Oct 23 13:57:15 CDT 2003

I take it back. It works perfectly. Thx.

"Yuri Weinstein (HotMail)" <yuriw@hotmail.com> wrote in message
news:XRUlb.5865$8U4.5390@newssvr29.news.prodigy.com...
> Yes, I want to decode URL like this:
>
>
uberreport?selectedTab=&positionY=0&report=%28UberReport%2Cnull%2Creport%2C%
>
28%28%28%2Fcom%2Fmerced%2Freports%2Fview%2Fyardsticks%2Fenhanced%2FQuarterMe
>
anYardStick%29%2Cfalse%2Cfalse%2Cnull%29%2C%28%28%2Fcom%2Fmerced%2Freports%2
>
Fview%2Fyardsticks%2Fenhanced%2FCenterMeanYardStick%2C%2Fcom%2Fmerced%2Frepo
>
rts%2Fview%2Fyardsticks%2FStackRankYardStick%29%2Ctrue%2Ctrue%2Cnull%29%2C%2
>
8%28%2Fcom%2Fmerced%2Freports%2Fview%2Fyardsticks%2FMeanYardStick%29%2Ctrue%
>
2Ctrue%2Cnull%29%29%2Ctrue%2Ctrue%2C0%2Cfalse%2C%2Fcom%2Fmerced%2Fcharts%2Ft
> ypes%2FBarChart%2C%2Fcom%2Fmerced%2Fcharts%2FMercedChartManager%
>
>
>
> Into a nornal view.
>
> Tom, unescape does th ejon, however it cuts my string off. Do you nkw
why?
>
> Thx
>
>
> "Tom Lavedas" <tlavedas@hotmail.remove.com> wrote in message
> news:022a01c3998e$4f659910$a301280a@phx.gbl...
> > I think you want the unescape method, even though the
> > documentation suggests it's only available from Jscript.
> >
> > wsh.echo "for example:", unescape("url%20text")
> >
> > Tom Lavedas
> > ===========
> >
> > >-----Original Message-----
> > >Does anybody have a function in VBScript to decode URLs?
> > >
> > >Thx
> > >
> > >YuriW
> >
>
>