IndexOf can't find multiple index.Really?

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

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

이미지 1

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

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

MappingIndexOf

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

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

Got it.

Thanks, guys.

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

 

 

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

6 Likes

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

1 Like