Previous Up Next

6.3.3  The length of a string: size length

The size command can find the length of a string (as well as the length of lists in general, see Section 6.39.3).
length is a synonym for size.


Example.
Input:

size("hello")

Output:

5

Previous Up Next