Grabbing stats from a .txt file- Repost!
Posted on 1998-10-17
This is probably a pretty stupid question, but I need to extract specific data from a text file, assign each piece of data a variable, and manipulate the variables. Here's the situation; Making a baseball stat page that withdraws from a text file in this format:
Abreu, Bobby PHI OF .312 151 139 497 68 155 29
Agbayani, Benny NYM OF .133 11 3 15 1 2 0
Alexander, Manny CHN SS .227 108 57 264 34 60 10
What I want to do is assign the players' name and stats to seperate variables and then list the data. Also interested in removing the data from the file after it's been extracted. Any idea?