Re: how to check CRLF in C#

Discussion in 'ASP .Net' started by Jerry III, Aug 25, 2003.

  1. Jerry III

    Jerry III Guest

    Replace("\r\n", "<br>");

    Please learn C# before you get into programming server applications and post
    into the right group, this has nothing to do with ASP.NET.

    Jerry

    "Simon Chung-Jen Chuang" <> wrote in message
    news:...
    > Hello,
    >
    > I want to replace all CRLF(carriage return and line feed) with "<br>" in

    C#.
    > How should I do?
    >
    > theString.Replace(?, "<br>");
    >
    > Thanks,
    > Simon
    >
    >
     
    Jerry III, Aug 25, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: how to check CRLF in C#

    Kevin Spencer, Aug 25, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    28,077
    Jerry III
    Aug 27, 2003
  2. Simon Chung-Jen Chuang

    Re: how to check CRLF in C#

    Simon Chung-Jen Chuang, Aug 26, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    437
    Simon Chung-Jen Chuang
    Aug 26, 2003
  3. Jack Wright

    Problem in CRLF in multiline fields

    Jack Wright, Apr 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    415
    Jack Wright
    Apr 21, 2004
  4. Michael Persaud

    CRLF How does it work for asp.net???!!

    Michael Persaud, May 27, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    6,018
    Michael Persaud
    May 27, 2004
  5. Andrew

    ASCII file without crlf's

    Andrew, Jun 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    439
    M. Zeeshan Mustafa
    Jun 22, 2004
Loading...

Share This Page