Click or drag to resize
Left

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

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

Syntax
Left(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
Left("abcdefghijkl", 5)

Result: "abcdef"

Left("abcdefghijkl", 13)

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