Grabbing a string and going through it line by line

Discussion in 'ASP .Net' started by Maziar Aflatoun, Jul 5, 2005.

  1. Hi,

    I have a little application that reads a text file line-by-line and
    processes each line depending on the CVS values. Now I want to change my
    program to capture this from a textbox instead. How do I parse a string
    line-by-line? Just like a file?

    Thanks
    Maz.
     
    Maziar Aflatoun, Jul 5, 2005
    #1
    1. Advertising

  2. in VB split it on VbCrLf (const: carriage return line feed ) which will give
    you an array of "lines" jd

    "Maziar Aflatoun" wrote:

    > Hi,
    >
    > I have a little application that reads a text file line-by-line and
    > processes each line depending on the CVS values. Now I want to change my
    > program to capture this from a textbox instead. How do I parse a string
    > line-by-line? Just like a file?
    >
    > Thanks
    > Maz.
    >
    >
    >
     
    =?Utf-8?B?bG9uZG9uIGNhbGxpbmc=?=, Jul 5, 2005
    #2
    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. Brett Cramer
    Replies:
    2
    Views:
    3,958
    Brett Cramer
    Oct 16, 2003
  2. neu
    Replies:
    2
    Views:
    312
    VisionSet
    Nov 15, 2003
  3. Matthew Wilson
    Replies:
    4
    Views:
    410
    Tim Chase
    Sep 29, 2006
  4. Replies:
    11
    Views:
    488
    Tom Anderson
    Aug 7, 2008
  5. Desmo
    Replies:
    3
    Views:
    98
    Eric J. Roode
    Jul 10, 2003
Loading...

Share This Page