LastIndexOf
Last updated
Last updated
The LastIndexOf Node returns the index of the last occurrence of a substring in a String and a Bool indicating whether it was found or not.
The range in which the substring will be searched can be customized via the StartIndex
and EndIndex
Attributes.
Attribute | Type | Description |
---|---|---|
| String | The String in which the search will be performed. |
| String | The substring that will be searched for. |
| Int | Index of |
| Int | Index of |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | The String in which the search will be performed. |
| String | The substring that will be searched for. |
| Int | Index of |
| Int | Index of |
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. |
| Int | The index of the last occurrence of |
| Bool | Whether |
Substring on Wikipedia.