I am trying to split a text file based on line breaks. The following code seems to be splitting on every 'r' or 'n' in the file not on line breaks. Could someone tell me what I am doing wrong,
Dim AllData = filestream.Read ToEnd()
Dim Rows = AllData.Split(" \r\n".ToCharArr ay())
Thanks!
Dim AllData = filestream.Read ToEnd()
Dim Rows = AllData.Split(" \r\n".ToCharArr ay())
Thanks!
Comment