Hi there,

I have found out how to read the contents of a file in one go.

Now i need to separate the whole string into line by line, how do i do that?
I understand i can use string.split command, but what is the character entry for the line break?

Cheers!

VB Code:
  1. If IO.File.Exists(Me.txtFilePath.Text) = True Then
  2.             Dim fileText As String = My.Computer.FileSystem.ReadAllText(Me.txtFilePath.Text)
  3.             Me.rtbContents.Text = fileText
  4.         End If