Class Length

All Implemented Interfaces:
ArithFunction, Serializable

public class Length extends DefaultArithFunction

Function: .length(L): returns the size of either the list or string L.

Examples:

  • .length("aa"): returns 2.
  • .length([a,b,c]): returns 3.
See Also: