RE: replacing carriage returns with HTML break tags
- From: "Tbone" <tbone@xxxxxxxxxxxxxxxx>
- Date: Thu, 26 May 2005 11:06:02 -0700
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?
.
- Follow-Ups:
- Re: replacing carriage returns with HTML break tags
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: replacing carriage returns with HTML break tags
- References:
- Prev by Date: Re: reading a file
- Next by Date: Re: Recommandation for third party datagrid
- Previous by thread: RE: replacing carriage returns with HTML break tags
- Next by thread: Re: replacing carriage returns with HTML break tags
- Index(es):
Relevant Pages
|