I am trying to retrieve the index number of items in a list. For example, if I have a list of letters A through D, I want a resulting list that gives numbers 0 through 3 (since Dynamo is zero-index based). How can I achieve such a list based on another list?
You could use some very simple code:
Excellent! I’m still learning simple code techniques. Much appreciated!
Actually, I just thought of an even simpler way using nodes: