RIGHT

The RIGHT function outputs the last n characters of the string from the right.

The number of characters returned is specified by the Count property. If the Count property is greater than the number of characters in the string, the entire string is returned.

Input

Number of Connections: Min: 1/Max:2
InputData TypeDescription
Input1StringThe original string.
Input2IntegerSets the Count property. (optional)

Output

OutputData TypeDescription
Output1StringThe sub-string.

Property

NameProperty TypeDescription
CountIntegerThe number of characters from the right of the string to return.

Topic


Example

PropertyOutput
Input 1Infoteria XML Solution ComponentsCount23XML Solution Components