Getting values from a text file line by line
Posted on 2012-03-27
I'm currently reading a text file. When I get to a line that contains
"00331," I grab the string following that text then go on to the next line.
Sometimes the lines will look like this...
and sometimes like this...
In the first example, I grab the value "ewqcweqcqw" and move on...no problem.
In the second example, however, I want to get all three values, then move on.
How do I do this. I've tried several loop variations, but I'm stuck.