length(v)

Returns the length of a list variable or a string

The length of a list or string is the number of entries or characters it is composed of.

Parameters

v: A list or string variable

Return Value

An integer specifying the length of the given list or string

Example command: length("here I am")

  • Example Parameters:
    • v equals string "here I am"
      • Returns 9