Create Array in JavaScript From Comma Delimited String
<p>Thanks in advance for any help. I've searched many articles and can't seem to figure this out.</p>

<p>I have a control that has a Value property that can be set like this from JS:
  <code>myControl.value(["8C65416E-DD68-4AF1-952B-2370D1D1F38B", "00EA79CB-6D5B-4A49-8CE4-32F19D88F6D8"]);</code>   </p>

<p>This works perfectly fine.</p>

<p>I have a string coming from a database that looks like this:</p>

<pre><code>myString = "8C65416E-DD68-4AF1-952B-2370D1D1F38B", "00EA79CB-6D5B-4A49-8CE4-32F19D88F6D8"
</code></pre>

<p>I am trying to set the controls value using the string, like this:</p>

<pre><code>    myControl.value(myString);`
    OR like myControl.value([myString]);
</code></pre>

<p>I have tried to create an array, variations of split, etc. but can't seem to fine the magic touch. The string is already formatted for me with double quotes, commas, etc. Seems very simple, just can't seem to get it.</p>