Comparing two strings - boolean
<p>How would you complete the method called c<code>ompareTwoStrings()</code> which takes two <code>Strings</code> and one <code>boolean</code> as input. If the boolean is true, this method compares the first two Strings, ignoring case considerations (uppercase/lowercase). Two Strings are considered equal ignoring case if they are of the same length, and corresponding characters in the two Strings are equal ignoring case.</p>

<p>If the boolean is false, this method should compare two Strings and return true if the first String represents the same sequence of characters as the second String, otherwise false.</p>

<p>Note: <code>compareTwoStrings("HELLO", "", false)</code> should return false</p>

<p>I attempted to use <code>a.equals(b)</code> however that fails to ignore uppercase/lowercase</p>
