Welcome to the Treehouse Community
Looking to learn something new?
Which method on String will allow you to check if one String is part of another. String someWords = "These are words";
Discouraged and confused
Simon Coates28,692 Points
the answer is the contains method. If you get stuck on methods available on classes, you can consult the online documentation. eg. https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#contains(java.lang.CharSequence)
i have used contains