I am using this code, to get the index of a String in an Array.
int n = Arrays.asList(Names).indexOf(textBox.getText());
The problem here i
A different approach where internally make sure ignore case.
public static int indexOfIgnoreCase(String[] strs, String text){ int n = strs.length; for(int i=0;i