Java tutorial
//package com.java2s; import java.util.List; public class Main { public static int indexOf(List<String> list, String target, int fromIndex) { for (int i = fromIndex + 1; i < list.size(); i++) { if (list.get(i).equalsIgnoreCase(target)) { return i; } } return -1; } }