# Array help

**URL:** <https://forum.kirupa.com/t/array-help/187800>\
**Category:** Uncategorized\
**Created:** [May 2, 2006, 1:28pm UTC](https://forum.kirupa.com/t/array-help/187800 "2006-05-02T13:28:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![UserName2](https://avatars.discourse-cdn.com/v4/letter/u/f08c70/32.png) [@UserName2](https://forum.kirupa.com/u/UserName2)\
**Post date:** [May 2, 2006, 1:28pm UTC](https://forum.kirupa.com/t/array-help/187800/1 "2006-05-02T13:28:16Z")

</div>

okay i have a question for you my lovelies if have an array :

> sections = [“a”, “b”, “d”, “e”, “f”, “g”, “h”, “i”, “j”, “k”, “l”, “m”, “n”, “o”, “p”, “q”];

how can i find out what the sixth part of the array is (i.e. g)?

is it

> sections[6]  
> ?

if it is that how can i substitute the [6] for a variable?? is it

> sections[numberOutput]

might sound like i am answering my own questions but i am trying to work out why something isnt working and by that i mean is it my reasoning 😃
