What about simply calling the third index?
I think that should work, or would that be inefficient?Code:Dim thirdLine As String = IO.File.ReadAllLines("C:\c.txt")(2)
|
Results 1 to 8 of 8
Thread: reading a text fileThreaded View
|
Click Here to Expand Forum to Full Width |