# Multidimetional arrays : .length

**URL:** <https://forum.kirupa.com/t/multidimetional-arrays-length/180116>\
**Category:** flash\
**Created:** [February 25, 2006, 7:59pm UTC](https://forum.kirupa.com/t/multidimetional-arrays-length/180116 "2006-02-25T19:59:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nich](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@Nich](https://forum.kirupa.com/u/Nich)\
**Post date:** [February 25, 2006, 7:59pm UTC](https://forum.kirupa.com/t/multidimetional-arrays-length/180116/1 "2006-02-25T19:59:31Z")

</div>

How would I go about checking the length of a sub array? If I have a code like this:  
ActionScript Code:  
[FONT=Courier New][LEFT]a = [COLOR=#000000][[/COLOR][COLOR=#000000][[/COLOR][COLOR=#ff0000]“a0”[/COLOR],[COLOR=#ff0000]“a1”[/COLOR], [COLOR=#ff0000]“a2”[/COLOR], [COLOR=#ff0000]“a3”[/COLOR],[COLOR=#ff0000]“a4”[/COLOR],[COLOR=#ff0000]“a5”[/COLOR][COLOR=#000000]][/COLOR],  
[COLOR=#000000][[/COLOR][COLOR=#ff0000]“a0”[/COLOR],[COLOR=#ff0000]“a1”[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000]][/COLOR];  
[/LEFT]  
[/FONT]

and I wanted to check the length of the second subarray (the answer would be 2) what would the syntax be?

Edit: the title should obviously be Multidimentional.
