length
The length function has been superseded by the number_of_characters function. Unless Enhanced Unicode Support is disabled, all calls to length are automatically mapped to the number_of_characters function.
Use the length function to determine the number of characters in a text.
length ( input )
The result of this function is of type NUMBER.
This function has one parameter:
- input, type TEXT. The text with length to be determined.
Examples
length ("abcdefgh") results in 8
length ("") results in 0
The length function is limited to content that only consists of latin-1 text. This function does not support word processor instructions or Unicode content. Use of this function with non latin-1 content can result in run-time errors or broken result documents.