How can I check if there is a specific set of letters inside of a value that is inside of an ArrayList?
ArrayList<String> words = new ArrayList<String>();
words.add("Wooden Axe");
words.add("Stone Axe");
if(words.contains("Axe")) {
//something
}
Like how can I check if the values contains the String "Axe"?