title: Check starts-with for each element in array
body: <p>Is there any utility function in java which does <code>String.startsWith</code> for each element in string array?</p>
  
  <p>For eg: </p>
  
  <pre><code>String[] s = {"ABC", "BBV", "ABCD", "NBHH"};
  </code></pre>
  
  <p>Is there any way to do :</p>
  
  <pre><code>array.startsWith("AB");
  </code></pre>
  
  <p>Returns <code>ABC</code> and <code>ABCD</code></p>