Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Tool to convert html to multiline string for mail?

Reply
Thread Tools

Tool to convert html to multiline string for mail?

 
 
John Dalberg
Guest
Posts: n/a
 
      09-24-2004

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
 
Reply With Quote
 
 
 
 
Ray Costanzo [MVP]
Guest
Posts: n/a
 
      09-24-2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to match string end for a multiline string? Peng Yu Perl Misc 2 06-24-2008 02:32 AM
how to convert a multiline string to an anonymous function? Danny Shevitz Python 3 04-30-2008 02:23 PM
How to convert Unicode string to raw string escaped with HTML Entities ldng Python 3 05-10-2007 09:37 AM
Convert HTML String to HTML Document And Save csgraham74 ASP .Net 2 09-19-2006 08:07 AM
how to define a variable to hold a multiline text input in perl from html multiline textbox dale zhang Perl Misc 8 11-30-2004 06:53 AM



Advertisments