title: Remove first white space in Java
body: <p>How would I remove the first white-space in Java?</p>
  
  <p>Right now I am using this:</p>
  
  <pre><code>if (str.charAt(0) == ' ') str = str.replace(" ", "");
  </code></pre>