ArrayDeleteAt (array, position) 


Deletes an element from an array at a specific index position. ColdFusion then automatically recalculates the array index positions. Therefore, index position 4 becomes position 3 after position 3 gets deleted. This returns a value of True.


 <cfset zipcode = ArrayNew(1)>  <cfset zipcode[1] = 80202>  <cfset zipcode[2] = 80203>  <cfset zipcode[3] = 80204>  <cfset ArrayDeleteAt(zipcode, 2)>  <cfoutput>  Array index position 2 is now: #zipcode[2]#  </cfoutput>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579 © 2008-2017.
If you may any questions please contact us: