The length of a string can be calculated by len
:
len(string)
which expands to the length of string, as a decimal number.
len() =>0 len(`abcdef') =>6
The builtin macro len
is recognized only when given arguments.
Go to the first, previous, next, last section, table of contents.