Case insensitive string comparison for used hostnames