Skip to main content

Left

Left Function​

Returns the specified number of character or characters from the beginning of a specified text string, based on the number of characters specified in the scalar input.

Syntax​

Left (scalar String Value, scalar Length)

Arguments​

ArgumentDescription
scalar StringValueText string to be evaluated
scalar LengthNumber of characters (counting from the left side of the string) to be returned

Examples:

Left('Newspaper',4)

Returns leftmost 4 characters of the string 'Newspaper'.