LOTUSSCRIPT LANGUAGE


LeftC function
Extracts the leftmost n columns from a string for column-based writing systems, such as Thai and Vietnamese.

Syntax

LeftC(StringExpr, n)

Elements

StringExpr


n
Return value

LeftC returns a Variant containing the columns specified by n.

Usage

If n is 0, the function returns the empty string (""). If n is greater than the length (in columns) of StringExpr, the function returns the entire string.

LeftC supports the Thai and Vietnamese languages.

See Also