# Splice objects array

**URL:** <https://forum.kirupa.com/t/splice-objects-array/331846>\
**Category:** flash\
**Created:** [November 6, 2013, 12:07am UTC](https://forum.kirupa.com/t/splice-objects-array/331846 "2013-11-06T00:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightkarnation](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@nightkarnation](https://forum.kirupa.com/u/nightkarnation)\
**Post date:** [November 6, 2013, 12:07am UTC](https://forum.kirupa.com/t/splice-objects-array/331846/1 "2013-11-06T00:07:04Z")

</div>

Hey guys, here’s a simple question:

Example code:

```auto

var records:Array = new Array();
records.push({name:"john", city:"omaha", zip:68144});
records.push({name:"matt", city:"kansas city", zip:72345});
records.push({name:"bob", city:"omaha", zip:94010});

```

I would like to splice in a way to change name: “bob” into name: “junior”  
I am thinking something like this:

```auto

records[0].name.splice("junior", 1); //<---- incorrect code

```

Any ideas?  
Thanks a lot!
