
02-04-2007, 02:31 PM
|
|
Junior Member
|
|
Join Date: Feb 2007
Posts: 1
|
|
Find position in array
Hello,
I have two arrays and would like to find if 1 element of an array exists in the other array? If the element from @array#1 exists in @array#2, I would like to take the location it was found at array #2 and find the element 5 elements upstream of the found element say @array#2[$i+5]? I would prefer to not loop through both arrays to accomplish this as the arrays are very large.
Thanks
|