This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:length [2020/02/28 10:46] 127.0.0.1 external edit |
en:length [2020/04/26 22:36] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Length (Function) ===== | ===== Length (Function) ===== | ||
==== Format ==== | ==== Format ==== | ||
- | **length**( [[stringexpressions|string_expression]] ) | + | **length**( [[stringexpressions|string_expression]] )\\ |
+ | **length**( [[arrays|array]] )\\ | ||
+ | **length**( [[map|map]] ) | ||
returns [[integerexpressions|integer_expression]] | returns [[integerexpressions|integer_expression]] | ||
==== Description ==== | ==== Description ==== | ||
- | Returns the number of characters in [[stringexpressions|string_expression]] | + | Returns the number of characters in [[stringexpressions|string_expression]], the number of elements in a map, or the number of values in an array. |
+ | |||
+ | NOTE: The length function returns the total number of items in a two dimensional array (rows * columns). | ||
==== See Also ==== | ==== See Also ==== | ||
{{page> | {{page> |