Click or drag to resize
Right

[This is preliminary documentation and is subject to change.]

The TOPICA Basic function Right is used to extract a substring from the end of an input string.

Syntax
Right(inputString, length)
Parameters

Name

Type

Description

inputString

String

The string value to extract substring from.

length

Integer

The number of characters to extract.

Returns

Substring.

Type: String.

Examples
Right("abcdefghijkl", 5)

Result: "ghijkl"

Right("abcdefghijkl", 13)

Result: exception (because input string only contains 12 characters)