I have a list starting at index 1 and i want to merge the {i,j} index into just {i} by combing all the sublist into one line as shown in below snip. grasshopper list also attached.
Also I want to bring and attach the first number at the last of the list
it worked gain. how can I remove ‘,’ if it is at the end of string. like in string at index 2 : 7,6,1, to be updated to just 7,6,1 with no comma at the end
You can also use Deconstruct Path, interestingly despite the seperator being a comma instead of a semi-colon. The advantage here is that it will not create <\empty>s after trailing commas.
Alternatively, you can force the result from Text Split into a integer container and then Clean Tree. The integer container will go red because of the <\empty>, but will convert the empty to a <\null>.