The Left function returns the specified number of characters, starting from the first character in the text.
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.
Rule | Meaning |
---|---|
Left(ProductNameComboBoxReturn, 5) | The Left function will retrieve the first five characters from the return value of the ProductNameComboBox. |
ProductNameComboBoxReturn Value | Number of Characters | Result of the Left function |
---|---|---|
"Window" | 5 | Windo |
"Hydraulic Cylinder" | 30 | Hydraulic Cylinder |