title: jQuery: split string and then insert into input and select
body: <p>I have strings like this:</p>
  
  <pre><code>"Car is blue"
  </code></pre>
  
  <p>String could also be like this:</p>
  
  <pre><code>"Flower is not at all beautiful"
  </code></pre>
  
  <p>I have html like this:</p>
  
  <pre><code>&lt;input class="subject" /&gt;
  &lt;select class="isornot"&gt;
      &lt;option&gt;is&lt;/option&gt;
      &lt;option&gt;is not&lt;/option&gt;
  &lt;/select&gt;
  &lt;input class="adjective" /&gt;
  </code></pre>
  
  <p>I need to split the string and put it into the appropriate places in the form. For the first string, the subject val should be car, is should be selected, and adjective value should be blue. For the second string, flower is the subject, is not is the select option, and 'at all beautiful' should be the adjective.</p>
  
  <p>Therefore the split should be is or is not. Not sure how to go about it. Thanks.</p>