I looked at the other questions like this but I couldn't find one that worked. I'm trying to check if the person replied with something meaning "yes", so I'm checking for several words that mean yes. But if they reply with "yEs", my code won't work because its case sensitive, and I don't know what to do.
Code:
String fq = JOptionPane.showInputDialog(null, "Welcome to RadinBot! Would you like to continue?", "RadinBot", JOptionPane.YES_NO_CANCEL_OPTION);
if (fq.contains("yes") ||
fq.contains("Yeah") ||
fq.contains("Yup") ||
fq.contains("mhm") ||
fq.contains("Yea") ||
fq.contains("sure"))