title: Losing leading "0" Zeros when converting to integer from string
body: <p>I am losing the leading zeros from my variable when I am converting it from a <code>String</code> to an <code>Integer</code>, </p>
  
  <pre><code>String[] parts = Firsttt.split(":");
  String part1 = parts[0]; // Hour
  String part2 = parts[1]; // Minute
  Integer part1int = (Integer.valueOf(part1));
  part1int++;
  Firsttt = part1int +":"+ part2;
  </code></pre>
  
  <p>Is there a correct way to do this without loosing the leading zero or should I just alter the  result to include the zero again ? </p>
  
  <p>i.e:     <code>Firsttt = "0" + part1int +":"+ part2;</code></p>
  
  <p>the problem with adding the zero again is that the variable doesn't always include a zero so just checking that there isn't a better way.
  Thank you</p>