Android examples for java.lang:String Equals
Check two nullable string for equal, Ignore Case
public class Main{ public static boolean equalsIgnoreCase(String str1, String str2) { return str1 != null && str1.equalsIgnoreCase(str2); }/* w ww.j a v a 2s . co m*/ }