title: Java: equivalent to C's strnicmp? (both startsWith and ignoreCase)
body: <pre><code> String string1 = "abCdefGhijklMnopQrstuvwYz";
   String string2 = "ABC";
  </code></pre>
  
  <p>I had been using string1.startsWith(string2), which would return false in the above example, but now I need to ignore case sensitivity, and there is not a String.startsWithIgnoreCase().</p>
  
  <p>Besides doing</p>
  
  <pre><code> string1.toLowerCase.startsWith(string2.toLowerCase());
  </code></pre>
  
  <p>is there an efficient way to see if string1 starts with string2 in a case-insensitive way?</p>