ArrayInsertAt (array, position, value) 


Inserts a value into an array at a specified position and returns true if successful. Array elements whose indexes are greater than the new position are incremented by one. The array length increases by one.


 <cfset zipcode = ArrayNew(1)>  <cfset zipcode[1] = 80202>  <cfset zipcode[2] = 80203>  <cfset zipcode[3] = 80205>  <cfset ArrayInsertAt (zipcode, 3, 80204)>  <cfoutput>  Array index position 3 is now: #zipcode[3]#  </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: