code: public static int indexOf(String[] arr, String value) {
  	for (int i = 0; i < arr.length; i++) {
  	    if (arr[i].equals(value)) return i;
  	}
  	return -1;
      }
docs: return index of given value in Array or -1
  
  @param arr
  @param value
  @return index of position in array