Why not just a case insensitive compare instead?