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

    ArrayList index

    807569
      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)}

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