title: Convert String to Integer without using parse or other methods
body: <p>I am trying to convert a string to an integer, without using any built in methods like parseint(), do some calculation on the integer, and convert it back to string. Right now I can convert an integer to a string, but I need help turning the initial String to an integer.</p>
  
  <pre><code>public static void main(String[] args) {
       String s="1234";
       int i= (s)==1234;
       int i2=s/2 = 617;
       String s2=i2 = 617;
  
  }
  </code></pre>