The Substr function is a built-in function that returns a sub-string of t beginning at start zero-based position and with length characters.

Input parameters

t: Text Type

start: Integer Type

length: Integer Type

Output parameters

Text Type

Examples

Usage

Result

Substr( "First string", 2, 4 )

"rst "

Substr( "First string", 0, 100 )

"First string"

Substr( "First string", 11, 3 )

"g"

Substr( "First string", Length ("First string"), 0 )

""

Substr( "First string", 2, 0 )

""

See Also

Available Text Functions | Available Built-in Functions