# Array help!

**URL:** https://forum.kirupa.com/t/array-help/145263
**Category:** Uncategorized
**Created:** [April 21, 2005, 5:40am UTC](https://forum.kirupa.com/t/array-help/145263 "2005-04-21T05:40:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rvanet](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@rvanet](https://forum.kirupa.com/u/rvanet)
#### Post date: [April 21, 2005, 5:40am UTC](https://forum.kirupa.com/t/array-help/145263/1 "2005-04-21T05:40:37Z")

</div>

Can somebody help on how to solve this problem?  
I have 2 arrays:  
Array 1 = [1,3,5,7,9,10];  
Array 2 = [5,7,10];  
Now, I wanted to create a new Array the is the same as the length of Array 1. The output should look like this:  
New Array = [0,0,5,7,0,10];  
Please help! I still can’t figure it out up to now.

Thanks.
