Home Search

DriveWorks Pro 22
Left

Send Feedback

Left

The Left function returns the specified number of characters, starting from the first character in the text.

Syntax

Left([Text], [Number of Characters)]

Where:

Text is the string of text or a reference to some text .

Number of Characters is the amount of characters you want to retrieve, starting from the start of the text.

If the specified number of characters is greater than the total number of characters in the specified text, then when the Left function is calculated, it will return the whole text string.

Examples

Rule

Meaning
Left(ProductNameComboBoxReturn, 5)The Left function will retrieve the first five characters from the return value of the ProductNameComboBox.

Example Outcomes

ProductNameComboBoxReturn Value

Number of Characters

Result of the Left function

"Window"5Windo
"Hydraulic Cylinder"30Hydraulic Cylinder