Is there a way to ignore the case for the contains() method but at the same time leave the code snippet more or less the same?
/** * This method returns a list
Make both strings lowercase(or uppercase)
public ArrayList wordsContaining(String text) { int index = 0; text = text.toLowerCase(); ArrayList wordsContaining = new ArrayList(); while(index