For Programmers: Free Programming Magazines  


Home > Archive > ASP > September 2004 > Tool to convert html to multiline string for mail?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tool to convert html to multiline string for mail?
John Dalberg

2004-09-24, 3:55 pm


I need to convert html into a multiline string which looks something like
this:

shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br><!-- Main
Table -->" & _

....

Is there a tool that can do this?

John Dalberg
Ray Costanzo [MVP]

2004-09-24, 3:55 pm

What is the source of the HTML? A web page on the Internet? A file on your
file system? In a database? You shouldn't need to do anything but store
the contents of the source in a variable.

Ray at work

"John Dalberg" <john_dd@hotmail.com> wrote in message
news:119cv39ol7uht.1l9k1gtj3ce21.dlg@40tude.net...
>
> I need to convert html into a multiline string which looks something like
> this:
>
> shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
> width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br><!-- Main
> Table -->" & _
>
> ...
>
> Is there a tool that can do this?
>
> John Dalberg



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com