Hi All,
First off, thanks for taking the time to educate me. This is my first foray into VB.NET, so I really appreciate your constructive feedback.
I have a test file that I want to parse, segregating the first 13(ish) chars of each line from the remaining text in the line.
eg.
[COLOR=red yellow]**.**.**.3080[/color] 250.39
[COLOR=red yellow]11.03.01.3010[/color] 1038.46
[COLOR=red yellow]11.03.01.3090[/color] 9.96
I've tried:
A) parsing the text using substring and streamreader, but I'm can't figure out how to populate the 2nd dimension of the array...
B) using split, again the same problem with populating the 2nd dimension
C) Using an arraylist.
I'd really like some feedback on the typical method of solving a problem like this. Should I be using a multidemensional array, split, arraylist.. a dataset?? And if any of you know of an 'Idiots Guide to Text file parsing' guide anywhere, I'd love the URL
Thanks in advance for your feedback guys!
Casey.
First off, thanks for taking the time to educate me. This is my first foray into VB.NET, so I really appreciate your constructive feedback.
I have a test file that I want to parse, segregating the first 13(ish) chars of each line from the remaining text in the line.
eg.
[COLOR=red yellow]**.**.**.3080[/color] 250.39
[COLOR=red yellow]11.03.01.3010[/color] 1038.46
[COLOR=red yellow]11.03.01.3090[/color] 9.96
I've tried:
A) parsing the text using substring and streamreader, but I'm can't figure out how to populate the 2nd dimension of the array...
B) using split, again the same problem with populating the 2nd dimension
C) Using an arraylist.
I'd really like some feedback on the typical method of solving a problem like this. Should I be using a multidemensional array, split, arraylist.. a dataset?? And if any of you know of an 'Idiots Guide to Text file parsing' guide anywhere, I'd love the URL
Thanks in advance for your feedback guys!
Casey.