Online Java compareToIgnoreCase() function

compareToIgnoreCase - Compares two strings lexicographically, ignoring case differences


Run on Java version: