title: Julia: How to obtain all but one point from an array?
body: <p>Say <code>x = [1:5..]</code> and I wish to return an array with the element <code>1:2</code> and <code>4:5</code> i.e. all but one element namely <code>3</code>. How do I do that?</p>
  <p>I tried <code>x[1:2; 4:end]</code> and <code>x[1:2 4:end]</code>. Neither worked.</p>
  <p>I would really like to use the <code>end</code> keyword if possible.</p>