GetTotalLen
allows you to dynamically access the total number of elements of an
array specified at runtime rather than at compile time. It accepts
the name of the array as a string or variable and returns the
length of that array. It returns the same value as
ArrayTotalLen.
Syntax:
GetTotalLen(ArrayName)
Example:
arr =
"array1"
len =
GetTotalLen(arr)