equalsignorecase code example
Example: equalsignorecase
Input : str1 = "pAwAn";
str2 = "PAWan"
str2.equalsIgnoreCase(str1);
Output :true
Input : str1 = "powAn";
str2 = "PAWan"
str2.equalsIgnoreCase(str1);
Output :false
Explenation: powan and pawan are different strings.