how can we break the line from the space between two words

Discussion in 'ASP .Net' started by kundan kumar, Oct 1, 2006.

  1. kundan kumar

    kundan kumar Guest

    hi,
    i m developing one application in which i have to compare
    two documents and collect the word which has the error. for that
    purpose i need to break the line into words from the space between the
    words.how can i do it.
    kundan kumar, Oct 1, 2006
    #1
    1. Advertising

  2. Chris Fulstow, Oct 1, 2006
    #2
    1. Advertising

  3. kundan kumar

    Tips Guest

    strText = strText.Replace(" ", vbCrLf)

    kundan kumar wrote:
    > hi,
    > i m developing one application in which i have to compare
    > two documents and collect the word which has the error. for that
    > purpose i need to break the line into words from the space between the
    > words.how can i do it.
    Tips, Oct 1, 2006
    #3
  4. kundan kumar

    Tips Guest

    strText = strText.Replace(" ", vbCrLf)

    If the text output is a web page you may using somthing like this

    strText = strText.Replace(" ", "<br />")


    kundan kumar wrote:
    > hi,
    > i m developing one application in which i have to compare
    > two documents and collect the word which has the error. for that
    > purpose i need to break the line into words from the space between the
    > words.how can i do it.
    Tips, Oct 1, 2006
    #4
  5. stringArrayVariable = stringVariable.Split(' ')

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    Software Composer
    http://unclechutney.blogspot.com

    A watched clock never boils.

    "kundan kumar" <> wrote in message
    news:...
    > hi,
    > i m developing one application in which i have to compare
    > two documents and collect the word which has the error. for that
    > purpose i need to break the line into words from the space between the
    > words.how can i do it.
    >
    Kevin Spencer, Oct 1, 2006
    #5
    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. puzzlecracker

    break line into words

    puzzlecracker, Jun 24, 2006, in forum: Java
    Replies:
    5
    Views:
    397
    Timo Stamm
    Jun 24, 2006
  2. Shuo Xiang

    Stack space, global space, heap space

    Shuo Xiang, Jul 9, 2003, in forum: C Programming
    Replies:
    10
    Views:
    2,884
    Bryan Bullard
    Jul 11, 2003
  3. Christian Seberino
    Replies:
    21
    Views:
    1,649
    Stephen Horne
    Oct 27, 2003
  4. Ian Bicking
    Replies:
    2
    Views:
    1,006
    Steve Lamb
    Oct 23, 2003
  5. Ian Bicking
    Replies:
    2
    Views:
    717
    Michael Hudson
    Oct 24, 2003
Loading...

Share This Page