G
Guest
I have some log files I need to process via VB.NET and C# based applications.
I read the entire contents of each file individually into a string variable
using the StreamReader class (.ReadToEnd). I want to split the lines up from
each file and add the lines to an an ArrayList (via AddRange), but for some
reason I cannot come up with a way to split the lines correctly.
Can anyone please provide a method using string conversions or Regex to
alter the string content so I can split the string into lines correctly?
Thanks,
Matt
I read the entire contents of each file individually into a string variable
using the StreamReader class (.ReadToEnd). I want to split the lines up from
each file and add the lines to an an ArrayList (via AddRange), but for some
reason I cannot come up with a way to split the lines correctly.
Can anyone please provide a method using string conversions or Regex to
alter the string content so I can split the string into lines correctly?
Thanks,
Matt