File: m4.info, Node: Len, Next: Index macro, Up: Text handling 11.1 Calculating length of strings ================================== The length of a string can be calculated by ‘len’: -- Builtin: len(STRING) Expands to the length of STRING, as a decimal number. The macro ‘len’ is recognized only with parameters. len() ⇒0 len(`abcdef') ⇒6