title: How to remove an element from array by value in Julia?
body: <p>I have this simple program in Julia:</p>
  
  <pre><code>a = [1, 2, 3, 10, 20, 30]
  delete!(a, 10)
  </code></pre>
  
  <p>but it does not work. The error is <code>MethodError: no method matching delete!(::Array{Int64,1}, ::Int64)</code></p>
  
  <p>I can see that <code>deleteat!</code> and <code>splice!</code> accept the index and not the value.</p>
  
  <p>How to remove element <code>10</code> from array <code>a</code> in Julia?</p>