title: See if a string begins with whitespace in Java
body: <p>I know that trim removes whitespace from the beginning and end of a string, but I wanted to check if the first character of a string is a whitespace. I've tried what seems about everything, but I can't seem to get it to work.</p>
  
  <p>Can someone point me in the right direction? I'd appreciate it if regular expressions were not used.</p>
  
  <p>Thanks a lot! </p>