title: Convert data from a string into a datatable
body: <p>i have a string that looks like this:</p>
  
  <blockquote>
    <p>MSG,4,111,11111,8963C4,111111,2017/03/14,10:38:27.036,2017/03/14,10:38:27.052,,,524,140,,,64,,,,,0
    MSG,8,111,11111,4B199E,111111,2017/03/14,10:38:27.039,2017/03/14,10:38:27.053,,,,,,,,,,,,0
    MSG,5,111,11111,4631CC,111111,2017/03/14,10:38:27.039,2017/03/14,10:38:27.053,,43000,,,,,,,0,,0,0
    MSG,5,111,11111,502CC6,111111,2017/03/14,10:38:27.041,2017/03/14,10:38:27.053,,41000,,,,,,,0,,0,0
    MSG,5,111,11111,3C66B0,111111,2017/03/14,10:38:27.042,2017/03/14,10:38:27.053,,36975,,,,,,,0,,0,0
    MSG,8,111,11111,4B16BB,111111,2017/03/14,10:38:27.045,2017/03/14,10:38:27.102,,,,,,,,,,,,0</p>
  </blockquote>
  
  <p>I want to put the data from this string into a table or an array with several lines and colums. I want to seperate the data with ',', and i know how to do that if i have a file, but in this case there is no file but a string.</p>
  
  <p>I tried to seperate the string by lines first by doing this:</p>
  
  <pre><code>lines = data1.split("\n")
  </code></pre>
  
  <p>That worked but when i tried to seperate the list with a ',' like this:</p>
  
  <pre><code>lines.split(',')
  </code></pre>
  
  <p>it is giving me the following error:</p>
  
  <blockquote>
    <p>AttributeError: 'list' object has no attribute 'split'</p>
  </blockquote>
  
  <p>Is there a command to sperate lists or create datatables or arrays out of lists?</p>