LOTUSSCRIPT LANGUAGE


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

Syntax

RightC[$] (StringExpr, n)

Elements

StringExpr


n
Return value

RightC returns a Variant containing the columns specified by n. RightC$ returns a String.

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.

RightC supports the Thai and Vietnamese languages.

See Also