Good evening everyone!
I have the following doubt and it is that I am trying to verify that a string contains several values, that is, the following URL
Well, I would like to create a condition that says that it contains the word basketball and results, right?
For now the most I have achieved has been to check if the url contains the word basketball, that is, with a contains.
String phrase = "baloncesto"; String url = "https:://www.mismarcadores.com/baloncesto/espana/leb-plata/resultados/"; System.out.println(url.contains(phrase));