Next: Index macro, Up: Text handling
The length of a string can be calculated by len:
len
Expands to the length of string, as a decimal number. The macro len is recognized only with parameters.
Expands to the length of string, as a decimal number.
The macro len is recognized only with parameters.
len() =>0 len(`abcdef') =>6