RE: replacing carriage returns with HTML break tags



Hmm...

based on the code that I'm working can I use the Replace method with Format
method or will I need to do this seperately?

Bear in mind that the MSDN .Net documentation is nothing but gibberish to me.
Sorry

"stb" wrote:

> please check
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemstringclassreplacetopic.asp
>
> "Tbone" wrote:
>
> > I'm changing our order confimation from a plain text to HTML. The original
> > setup of this had carriage returns between line items. These are not
> > interpreted by HTML so all the line items run together.
> >
> > Here is the code that produces the body of the message.
> >
> > msg.Body = string.Format(body, values);
> > return msg;
> >
> > Is there a method of Format to allow this kind of search and replace or
> > would I need to add a step to evaluate the values and replace them before
> > commiting them to msg.Body?
.



Relevant Pages

  • Re: increasing the RPS of any page
    ... - performance test as you develop, getting ridding of slow or cpu ... - remember that response.write(your html) is probably much more ... also bear in mind the big difference between slow through waiting (low ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Vista Application Icon
    ... fixes the problem. ... Bear in mind that the new 256x256 format is really an embedded PNG file, ...
    (borland.public.delphi.non-technical)
  • Re: Preceding Zeros
    ... You can change the format of these cells in the spreadsheet to Text. ... Bear in mind this will not sort correctly in numerical order so you ...
    (microsoft.public.excel.charting)
  • HTML email (WAS: Re: [opensuse] KMail - First Impressions)
    ... HTML composition. ... HTML email is ... Even trying to enforce a bottom posting format was futile. ... Clean out a corner of your mind and creativity will instantly fill it. ...
    (SuSE)
  • Re: Simple question ??
    ... A web page is basically an HTML document. ... a technology that, at the most basic level, delivers HTML to a web browser. ... Internet Explorer, for example, can display Word documents, ... file format to a browser in its native state. ...
    (microsoft.public.dotnet.framework.aspnet)