Left
  • 13 Dec 2023
  • 1 Minute to read
  • Dark
    Light

Left

  • Dark
    Light

Article summary

General

The Left function can be used to extract left characters from a String.

Syntax

The syntax of the Left function is:

Left Function Syntax

Left(<value>, <length>)

Examples

The following Expression returns a String that contains the 4 left characters of the value of variable vTest of a Datasource named Consumer Sales:

Left Function Example

Left([Datasource].[Consumer Sales].[Variable].[vTest], 4)


Was this article helpful?

What's Next