title: How to replace square root symbol in a string?
body: <p>In my android app I'm using </p>
  
  <pre><code>String sqrt = "\u221a";
  editText.setText(sqrt);
  </code></pre>
  
  <p>to display the square root symbol. And whatever mathematical expression is entered in that editText is going to be evaluated. The math library I'm using evaluates valid expressions when they are passed as strings. Square root must be like this:</p>
  
  <pre><code>sqrt(number)
  </code></pre>
  
  <p>So I need to replace the the square root symbol in the string I get from the edit text:</p>
  
  <pre><code>String input = editText.getText().toString();
  input.replace(sqrt,"sqrt("); //doesn't work!
  </code></pre>
  
  <p>Is there a way I can do it?</p>