title: Javascript split blob as strings
body: <p>Say you parse a text file with fileReader:</p>
  
  <pre><code>function show() {
      var file = document.getElementById('myFile');
      var data = file.files[0];
      var fileRead = new FileReader();
      fileRead.onload = function() { document.getElementById('out').appendChild(document.createTextNode(' ' + fileRead.result)) }
      fileRead.readAsText(data);
  }
  </code></pre>
  
  <p>How do you split a blob object (raw data) with the split function which works only on strings?</p>
  
  <p>If I convert the blob to string and then call readAsText it reasonably complains that the <code>data</code> variable (containing text) is not a blob object.</p>
  
  <p>So, basically I want to use the split function on the blob text object. </p>