Replace certain items in a list
ID
list-list-replace-items
Name
Replace Items
Group
List
Package
List
Keywords
Once you have set up the node, make sure to connect the list you want to modify to the first port. Connect the replacement items to the second port and the corresponding replacing indices for each item to the third port. The resulting output will be the modified list with the replaced values.
Insert List Items
Trim List
Reverse List
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
list | Any | List to modify | |
items | Any | Items to replace with | |
indices | Number | Replacement indices for each item |
Outputs
Name | Type | Description |
---|---|---|
replacedList | Any | List with inserted values |