Click or drag to resize
Length

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

The TOPICA Basic function Length is used to calculate the length (= number of characters) of a string expression.

Syntax
Length(stringValue)

Result type: Integer.

Parameters

Name

Type

Description

stringValue

String

The string value to compute length of.

Returns

Number of characters in input string (stringValue).

Type: Integer.

Examples
Length("")

Result: 0

Length("ABC")

Result: 3

Length("ABC" + "DEF")

Result: 6