Left

Syntax

Left(string|length)

Description

Extracts a substring of a specified number of characters from the left side of a string.

Parameters

Parameter Description

string

A string from which to extract a substring.

length

A number specifying the number of characters in the substring.

Returns

Returns a substring length characters long from the left side of a string.

Example

The following table presents an example of using Left function.

Expression Result

left(''Hello World''|5)

Hello