# Array length in 2d-array

**URL:** <https://forum.kirupa.com/t/array-length-in-2d-array/232993>\
**Category:** flash\
**Created:** [July 19, 2007, 9:23am UTC](https://forum.kirupa.com/t/array-length-in-2d-array/232993 "2007-07-19T09:23:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hatu](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hatu](https://forum.kirupa.com/u/hatu)\
**Post date:** [July 19, 2007, 9:23am UTC](https://forum.kirupa.com/t/array-length-in-2d-array/232993/1 "2007-07-19T09:23:59Z")

</div>

I was wondering can I use the array.length command to somehow find out the length and ‘width’ of the array?  
.length shows how many lines there are but can I somehow use it to view how many entries are on each line?

```auto
var mappi = [
["0","1","0"],
["1","1","1"],
["1","1","1"],
["0","1","0"]
];

```
