I\'m new to programming and decided to take VB.net up as my first language, I\'m quite new and I\'m currently trying to write a sorting program. I\'m trying to load in a file, s
This can be done much faster
Dim lines() As String = System.IO.File.ReadAllLines("S:\class" & CName & ".rtf")
For Each line as String in lines
' here I am not sure what you asking but you can do these to identify line
' Regex.Match("[0-9]+")
' line.contains...
' line.IndexOf...
' Do whatever you need with the line here
Next