0

I have this code that searches for a set of numbers in my textfile. When it finds those numbers I want it to print what's on column 5 to 12 in the same line. Is this possible to do? I've been looking for an answer for ages now, and I can't seem to find anything.

The person that can help me with this would certainly make my day a lot brighter.
Thank you in advance!

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by G_Waddell
0

First of all you should attach the textfile that you try to parse and also the code you have already.
You can't expect anyone here to do a blind guess based on the given information.

0

Hi,

I'm guessing the file is a csv (comma delimited file) or some other delimited

1 Read in each line of the file to a string
2 Use split on this string to generate an array of substrings (or columns)
3 Print out the necessary Columns from that array - remember VB array index starts at zero..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.