Returns a specified number of characters from the beginning of a character string.

Syntax

<expC>.left(<expN>)

<expC>

The string from which you want to extract characters.

<expN>

The number of characters to extract from the beginning of the string.

Property of

String

Description

Other than the syntactic difference of being a method instead of a function, this method behaves identically to the LEFT( ) function.