Here we are just comparing two strings, $a$ and $b$, but the comparison should be case-insensitive. You can convert the strings such that all the characters of both strings have the same case, then compare normally to get your answer.