/* */

Tuesday, 22 March 2011

Insert

insert an object into specified position in a list:

numbers [1,2,3,4,,5,6]
numbers.insert(3,'four') - insert 'four' at position 3
number
[1,2,3,'four',5,6,7]

No comments:

Post a Comment