LOTUSSCRIPT LANGUAGE


RightBP function
Example

Extracts a specified number of the rightmost bytes in a string using the platform-specified character set.

Syntax

RightBP[$] ( expr , n )

Elements

expr


n
Return value

RightBP returns a Variant of DataType 8 (a String), and RightBP$ returns a String.

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

RightBP(NULL) returns NULL. RightBP$(NULL) is an error.

If a double-byte character is divided, the character is not included.

Language cross-reference

@Right function in formula language

Example
See Also