PLZ any one explain me CASE_INSENSITIV E_ORDER with help of simple example and tell me the function of it
Case_insensitive_order
Collapse
X
-
This is the Collator (Comparator) used in the string class when you call the compareToIgnore Case, or equalsIgnoreCas e functions.
For more information, look up Collator Java class, Comparator java class, CASE_INSENSITIV E_ORDERCode:String s = "abc"; String s2 = "abcd"; System.out.println(s.compareToIgnoreCase(s2)); // should print out a negative number.
Comment