7 Replies Latest reply: Sep 21, 2006 10:48 PM by 807569 RSS

    ArrayList index

      I need to search through an ArrayList to match a keyword.
      I need to use a counter in the for loop to do this.
      How do I index the ArrayList?

      for ( int i; i<al.size(); i+=2)

      al(i) in parenthesis does not work or al<i> or al[i]