title: Reading from a text file; how do I determine how many fields each line holds?
body: <p>So, I'm trying to read from a text file and store each line into an object, and then each individual value (split by ',') into a list. Here's a quick example:</p>
  
  <p><b>Text file dummy information:</b><br />
  1, Book One, 22, 5<br />
  2, Book Two, 10, 3<br />
  3, Book Three, 5, 15</p>
  
  <p>But if for example, line 2 had the following:<br /><br />
  <b>Text file dummy information:</b><br />
  1, Book One, 22, 5<br />
  2, Book Two, 10, 3, 22.0, 5<br />
  3, Book Three, 5, 15</p>