title: Check two words to see if the beginning of word a is equal to word b
body: <p>Given the following strings</p>
  
  <pre><code>String a = "hello";
  String b = "hell";
  String c = "help";
  </code></pre>
  
  <p>I would like to find out if string b is a substring of a, and if string c is a substring of a.</p>
  
  <p>You can see here the answer is clearly yes for b and no for c.
  How can I perform this test in Java?</p>