processing array get index code example
Example: index of an array procesing
//when using convert the list and value to string using str()
int arrayIndex(String[] x, String value) {
for (int i=0; i<x.length; i++){
if (test[i]==value) {
return(i);
}
}
}