Counting between elements in an array???
Posted: Thu Sep 25, 2008 10:22 am
Hi,
Could someone tell me the best way to count the number of positions between two array values in an array? I have a large array and two values, I want to find the first value in the array first and then count how many positions in the array until the second is hit. I am sorry if this is a bit elementary ...
I also need to be able to identify the value x number of elements away from another value
Thanks
James
Could someone tell me the best way to count the number of positions between two array values in an array? I have a large array and two values, I want to find the first value in the array first and then count how many positions in the array until the second is hit. I am sorry if this is a bit elementary ...
I also need to be able to identify the value x number of elements away from another value
Thanks
James