title: Remove all occurrences of a string from an array
body: <p>I would like to split an array at all occurences of a string in an array, in Javascript. For example:</p>
  <pre><code>var array = [&quot;fast&quot;, &quot;red&quot;, &quot;race&quot;];
  var string = &quot;The fast red race car drove fast.&quot;;
  
  var replacedArray = [];
  </code></pre>
  <p>I would like end up with <code>replacedArray</code> being equal to: <code>[&quot;The &quot;,&quot; car drove &quot;,&quot;.&quot;]</code></p>
  <p>I've looked around for a while, but I can't find anything. I assume it would be done with a <code>split()</code> and <code>join()</code>, but I have no idea beyond that.</p>
  <p>How would I go about doing this?</p>