Find indexes of multiple values which are matching in an array of strings

so I have two dropdown values which are in array format . dropdownArray1 = [1,2,3,4,5,6] and dropdownarray2= [A,B,C,D,E,F].
if I select [2,4,6] from the dropdownArray1 then the values corresponding to the index from the dropdownarray2 should be selected. i.e., expected answer is [B,D,F].

52 thoughts on “Find indexes of multiple values which are matching in an array of strings”

  1. 916742 222025Any person several opportune pieces, it comes surely, as effectively as you bring in crave of various the many other types of hikers close to you with hard part your question. pre owned awnings 423876

    Reply

Leave a Comment