I have an array a = ["APP","COM", "REJ" , "COM APP"] and b = [23,54,56,24]. A and B are of equal length. How to get all elements of array B, in which the values of array a contains VALUE as APP
here in the array a there is an APP in APP ,COM APP , how to return [23, 24] as an array.