Home Search

DriveWorks Pro 21
Right

Send Feedback

Right

This function returns the specified number of characters, starting from the last character in the text.

Syntax

Right([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 end of the text.

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

Examples

Rule

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

Example Outcomes

ProductNameComboBoxReturn Value

Number of Characters

Result of the Right function

"Window"5indow
"Hydraulic Cylinder"30Hydraulic Cylinder