What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-08-30 03:20:03
java check if element exists in array
import java.util.Arrays; // For String String[] array = {"Boto", "Nesto", "Lepta"}; String toSearch = "Nesto"; // Inline if (Arrays.toString(array).contains(toSearch)) { // Do something if it's found } // Multi ... Add solution
Best helpers
Ranking is empty