Delete unnessesary indexes in multiple lists, filtered by name

Hi everyone,
Need your help
I need to delete rows 4,5
To get the list like this
List
0List
0A
1B
2C
3D
1List
0 1
1 2
2 3
3 4
and delete after node create.list 2 rows that contain nulls in the 1List
because they were deleted in the 0List before.
The deleting of the 1list must be somehow reffered to the 0list delition

Like this?

Hi Steven,
Yes work fine, thank you very much

Hi Steven,
Ive found that this doesnt work because
the first list delete only count but not refer to the second list to delete the same indexes and as result the list 0 doesnt match the list 1
what I need is to delete same indexes after findind names… from the list0 and list 1 to get correct lists after.


we have a list of A, A1, A2, B, C, D and
1, 2, 3, 4, 5, 6.
so I need to delete
A1, A2
that is 2, 3,
To get the list List 0 {A,B,C,D}
and List 1 {1, 4, 5, 6}

Use List.RemoveItemAtIndex instead of List.DropItems .