A sample line from an imput file as follows:
1,123456,SL,27,1/30/2003,,1000.00
I already read in line by line with no problems into a String variable called TextLine.
1) I want to verify after the first comma IsNumeric() = True and Len()=6.
2) I want to verify that after the second comma is IsNumeric() = False and that Len()=2
3) I want to verify that after the 3rd comma IsNumeric() = True and that Len()=2
4) I want to verify that after the 4th comma IsDate() = True
Is there a way to do this in VB with ease? Is there a cool function that i'm missing out on for comma-delineated String Manipulation?
Best,
Funky
1,123456,SL,27,1/30/2003,,1000.00
I already read in line by line with no problems into a String variable called TextLine.
1) I want to verify after the first comma IsNumeric() = True and Len()=6.
2) I want to verify that after the second comma is IsNumeric() = False and that Len()=2
3) I want to verify that after the 3rd comma IsNumeric() = True and that Len()=2
4) I want to verify that after the 4th comma IsDate() = True
Is there a way to do this in VB with ease? Is there a cool function that i'm missing out on for comma-delineated String Manipulation?
Best,
Funky