collect 1st element in an array using classic asp

stonemed

New Member
I have a 2-D array in classic asp, my aim is to find 1st element in that array and save it in a variable. after that remaining elements(except the first element) are saved in same array.Example: if "\[code\]aryReturn\[/code\]" is an array like.\[code\]aryReturn(1,0) = 1001aryReturn(2,0) = 1002aryReturn(3,0) = 1003 aryReturn(4,0) = 1004aryReturn(5,0) = 1005aryReturn(6,0) = 1006\[/code\]Now I want to find the 1st element(\[code\]aryReturn(1,0)= 1001\[/code\]) in \[code\]Dim intValue\[/code\].\[code\]intValue = http://stackoverflow.com/questions/12672926/1001\[/code\]then after that, it sholud return the array with remaining elements.aryReturn = \[code\]aryReturn(1,0) = 1002aryReturn(2,0) = 1003aryReturn(3,0) = 1004 aryReturn(4,0) = 1005aryReturn(5,0) = 1006\[/code\]
 
Back
Top