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

K

kundan kumar

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.
 
T

Tips

strText = strText.Replace(" ", vbCrLf)

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

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

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top