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
Input | Data Type | Description |
Input1 | String | The original string. |
Input2 | Integer | Sets the Count property. (optional) |
Output
Output | Data Type | Description |
Output1 | String | The sub-string. |
Property
Name | Property Type | Description |
Count | Integer | The number of characters from the right of the string to return. |
Topic
- A negative value defined in the
Count
property will result in a error.
- If the
Count
property is larger than the number of characters in the input string, the entire input string is returned.
- An empty string is returned if the
Count
property is set to zero.
Example
| Property | Output |
Input 1 | Infoteria XML Solution Components | Count | 23 | XML Solution Components |