title: Splitting string using operator in android for calculator App
body: <p>I want to make a calculator App.  For this I need to be able to split a string into two when there is an operand between them.  I tried my code like this:</p>
  
  <p>String[] operation= display.split(Pattern.quote(currentOperator));
   currentOperator contain my operator i.e + - /  or *</p>
  
  <p>I tried entering 12 + 12</p>
  
  <p>When I displayed my operation[0] and operation<a href="https://i.stack.imgur.com/6RaJa.png" rel="nofollow noreferrer">1</a> result shown is 1 and +1 <a href="https://i.stack.imgur.com/6RaJa.png" rel="nofollow noreferrer">enter image description here</a></p>