title: Way of processing a string of plus and minus operations
body: <p>I'm writing a java method that takes a string of plus and minus operations, eg</p>
  
  <p>"+1+2+3-5" and I want it to return an int of the answer. </p>
  
  <p>I'm trying to do this as efficiently as possible. I've tried the <code>String.split()</code> method, but it gets slightly confusing with the pluses and minuses.</p>
  
  <p>Can anyone help? No, this isn't homework.</p>