[thelist] VBScript: HTMLEncode with no Server object available?
Tab Alleman
Tab.Alleman at MetroGuide.com
Wed Aug 27 11:30:21 CDT 2003
Jason Handby wrote:
> I want to be able to HTMLEncode a string, exactly as I would with
> Server.HTMLEncode() . Unfortunately, because I'm writing this script
> for Windows Scripting Host and not for an ASP page, the Server object
> isn't available.
>
> Can someone point me at some VBScript for doing the same job?
> Someone's bound to have written this already...?
>
Have you tried Wscript.HTMLEncode()?
More information about the thelist
mailing list