I've got a CSV that's just a single column of text like so
and so on...
I'm trying to use
to read it into a List of String... the issue is that when I use this, every entry after the 1st gets a leading space...
Dim strIA_Block_Parameters As New List(Of String)
Dim IA_Block_Parameters_FileStream As FileStream = New FileStream(strIA_Block_Parameters_FilePath, FileMode.Open, FileAccess.Read)
Dim IA_Block_Parameters_FileStreamReader As StreamReader = New StreamReader(IA_Block_Parameters_FileStream)
strIA_Block_Parameters = IA_Block_Parameters_FileStreamReader.ReadToEnd.Split(ControlChars.NewLine).ToList
Any thoughts on this?