title: AppleScript convert variable that is a string into a list
body: <p>I am attempting to do a shell script within my AppleScript where I grep a CSV file and it returns a list to my AppleScript.</p>
  
  <p>For example, my CSV has lines</p>
  
  <pre><code>01,{"tacos","burritos"}
  02,{"burgers","hot dogs", "corn dogs"}
  </code></pre>
  
  <p>my AppleScript is set as</p>
  
  <pre><code>set a to 01
  set b to 02    
  set myMenu to do shell script "grep " &amp; a &amp; " [path to CSV] | cut -d ',' -f 2")
      set menuChoice to (choose from list myMenu)
      display alert menuChoice
  </code></pre>
  
  <p>When I do this, my choose from list displays as one item in the list that shows the menu items as a string, but I want them to be individual menu items.</p>
  
  <p>Meaning my choose from list shows as:</p>
  
  <pre><code>{"tacos","burritos"}
  </code></pre>
  
  <p>Instead of:</p>
  
  <pre><code>tacos
  burritos
  </code></pre>