title: How to convert string (IP numbers) to Integer in Java
body: <p>Example:      </p>
  
  <pre><code>// using Integer.parseInt
  int i = Integer.parseInt("123");
  </code></pre>
  
  <p>How would you do the same for?</p>
  
  <pre><code>// using Integer.parseInt
  int i = Integer.parseInt("123.45.55.34");
  </code></pre>