RightC function (LotusScript® Language)

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

Syntax

RightC[$] ( 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

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.