LeftC function (LotusScript® Language)
Extracts the leftmost n columns from a string for column-based writing systems, such as Thai and Vietnamese.
Syntax
LeftC( StringExpr, n )
Elements
StringExpr
A String expression containing character columns
n
The number of columns to be returned using the platform-specified character set.
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.