Skip to main content



Left Function

The Left function returns a string containing a specified number of characters from the left side of a string.

Syntax

Left(string, numChars)

The Left function returns a string containing a specified number of characters from the left side of a string.

Arguments

string String - A string.

numChars Integer - An expression indicating how many characters to return.

Remarks

Example:

Left("abcdefg", 3); // returns "abc"