LOTUSSCRIPT LANGUAGE


LenC function
Returns the length of a string in number of character columns. The LenC function is used for column based writing systems, such as Thai.

Syntax

LenC(stringExpr)

Elements

stringExpr


Return value

An Integer indicating the number of columns in the string expression.

Usage

LenC(NULL) generates an error.

LenC(v), where v is EMPTY, returns 0.

To determine the length of a string in characters, use the Len function. To determine the length of a string in bytes in the LotusScript internal character set, use the LenB function. To determine the length of a string in columns (for column-based languages) use the LenC function.

See Also