IndexOf can't find multiple index.Really?


#1

I wish IndexOf could return a list of multiple indexes if necessary.

For instance, {3,7,11,15} in the case below.

이미지 1


#2

I’m pretty sure you can feed it a list of indices using List.Map …


#3

I just tested w/ List.Map, but couldn’t get what I expected. Am I doing something wrong?
이미지 2


#4

MappingIndexOf


#5

Seems it is a limitation of the node. Hopefully the developers will look into it. In the mean time, you could try an approach similar to this:

2015-02-03_150607


#6

Hello All,

I have logged MAGN-6190 for internal tracking.

I will update you once we have this in build.

Thanks Dimitar Venkov and Andreas Dieckmann for your feedback and workarounds.

Thanks,

Ritesh


#7

Got it.

Thanks, guys.


#8

Is there any updates if this is fixed? I think this is what I am looking for,


#9

 

 

I guess it’s updated by List.AllIndicesOf:
list indices


#10

This solves the problem I had, exactly what I was looking for.