7 Replies Latest reply on Sep 22, 2006 3:59 AM by 807569

    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]