str2.compareToIgnoreCase(s1: String): int
class compareignore
{
public static void main(String[] arg)
{
String str1 = "Welcome to Smartprogrammeron.blogspot.in";
String str2 = new String("Welcome to SmartProgrammerOn.blogspot.in");
System.out.println("str1.compareToIgnore(str2) is " + str1.compareToIgnoreCase(str2));
}
}
str2.compareToIgnoreCase(s1: String): int case insensitive.
{
public static void main(String[] arg)
{
String str1 = "Welcome to Smartprogrammeron.blogspot.in";
String str2 = new String("Welcome to SmartProgrammerOn.blogspot.in");
System.out.println("str1.compareToIgnore(str2) is " + str1.compareToIgnoreCase(str2));
}
}
str2.compareToIgnoreCase(s1: String): int case insensitive.