TrimRight
Last updated
Last updated
The TrimRight Node trims certain chosen characters from the right side of a String, until a different character is found. It receives as Input a String to be trimmed and the characters to trim, and it outputs the trimmed String.
For example, trimming the characters "ab" from the String "babbaacababa" results in the trimmed String "babbaac".
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| String | The String to be trimmed from the right, if none is given in the Input Socket. |
| String | The characters to be trimmed from |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | The String to be trimmed from the right. |
| String | The characters to be trimmed from |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| String | The trimmed String. |