Answers for "equalsignorecase"

0

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.
Posted by: Guest on April-14-2021

Browse Popular Code Answers by Language