Mathematica > Core Language > Expressions > Expression Structure >

Length

Length[expr]
gives the number of elements in expr.
  • When expr is a SparseArray object, Length[expr] returns the length of the corresponding ordinary list.  »
New in 1 | Last modified in 5
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team