Hi,
I'm looking to parse a txt file that looks like this:
barfield,josh padr 2B 3 11 3 0 0 0 2 0 0 1 0 0 0 1 1 0 0
barmes,clint rock SS 4 20 4 0 1 0 3 0 0 6 0 0 0 0 0 0 0
barrett,michael cubs C 3 13 3 2 0 0 1 3 1 1 0 0 2 1 0 0 0
batista,tony twin 3B 3 10 2 1 0 1 2 1 1 3 0 0 0 1 0 0 0
bay,jason pira OF 5 17 5 0 0 1 3 1 4 4 0 0 2 0 0 0 0
These are just a few sample lines, there are many more. I'm trying to put each column into an array. Also explode the name in to first and last. My end goal is to take array and dump it to the db. Any pointers to get me in the right direction would be appreciated..