From: matz@... (Yukihiro Matsumoto) Date: 2002-10-09T17:10:41+09:00 Subject: Re: inserting an element to array at a specified position Hi, In message "inserting an element to array at a specified position" on 02/10/09, David Garamond writes: |since ruby's array doesn't have index(POS, OBJ) like in python, nor |splice() like in perl, what is the most common way to insert an element |at a specified position? ary = [0,1,2] ary[1,0] = "a" # => ary = [0,"a",1,2] matz.