We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 855a05b commit 58176a7Copy full SHA for 58176a7
1 file changed
SimpleAPI/src/main/java/com/bencodez/simpleapi/array/ArrayUtils.java
@@ -40,6 +40,20 @@ public static ArrayList<String> colorize(ArrayList<String> list) {
40
}
41
return list;
42
43
+
44
+ public static boolean containsIgnoreCase(String[] array, String value) {
45
+ if (array == null || value == null) {
46
+ return false;
47
+ }
48
49
+ for (String s : array) {
50
+ if (s != null && s.equalsIgnoreCase(value)) {
51
+ return true;
52
53
54
55
56
57
58
/**
59
* Colorize.
0 commit comments