Carriage Return

Discussion in 'ASP .Net' started by =?Utf-8?B?TGFMYUJveQ==?=, Mar 2, 2004.

  1. I have a textbox to contain a user input text
    How can I detect the carriage return characte in the text
    Thank You
    =?Utf-8?B?TGFMYUJveQ==?=, Mar 2, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?TGFMYUJveQ==?=

    Beginner Guest

    \n or vbcrlf

    "LaLaBoy" <> wrote in message
    news:...
    > I have a textbox to contain a user input text,
    > How can I detect the carriage return characte in the text?
    > Thank You
    Beginner, Mar 2, 2004
    #2
    1. Advertising

  3. =?Utf-8?B?TGFMYUJveQ==?=

    Natty Gur Guest

    Hi,

    System.Environment.NewLine which stand for new line string defined for
    current environment.

    Request.Form[0].IndexOf(System.Environment.NewLine)


    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur, Mar 2, 2004
    #3
    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. Ferdi
    Replies:
    5
    Views:
    4,679
    Jacob Yang [MSFT]
    Aug 24, 2003
  2. Kevin Spencer
    Replies:
    3
    Views:
    3,219
    Doc Wally
    Oct 11, 2003
  3. Jeff Clark
    Replies:
    0
    Views:
    1,601
    Jeff Clark
    Oct 17, 2003
  4. Xeno Campanoli
    Replies:
    0
    Views:
    227
    Xeno Campanoli
    Feb 13, 2006
  5. Steve Anderson
    Replies:
    3
    Views:
    248
    Steve Anderson
    Jun 21, 2004
Loading...

Share This Page