title: Remove a value from an array in CoffeeScript
body: <p>I have an array:</p>
  <pre class="lang-coffee prettyprint-override"><code>array = [..., &quot;Hello&quot;, &quot;World&quot;, &quot;Again&quot;, ...]
  </code></pre>
  <p>How could I check if &quot;World&quot; is in the array?
  Then remove it if it exists?
  And have a reference to &quot;World&quot;?</p>
  <p>Sometimes maybe I wanna match a word with a regexp and in that case I won't know the exact string so I need to have a reference to the matched String. But in this case I know for sure it's &quot;World&quot; which makes it simpler.</p>
  <p>Thanks for the suggestions. I found a cool way to do it:</p>
  <p><a href="http://documentcloud.github.com/underscore" rel="nofollow noreferrer">http://documentcloud.github.com/underscore</a></p>