Copy lines of a text file to an array

  • Thread starter Thread starter Jeroen
  • Start date Start date
J

Jeroen

Hi,

I am trying to get the lines of a text file into an array. Can anyone help
me with some code to do this in VB.net?

Greetings,
Jeroen
 
I am trying to get the lines of a text file into an array. Can anyone help
me with some code to do this in VB.net?

Look at the Split method of the String class. Your delimiter will be CR/LF.
 

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

Back
Top