i have two arrays.
a = [1,2,3,4,5];b = [6,1,7,3,5];
I want to be able to create another array called 'c' which contains everything a has but in the order it appears in 'b'. so c should look like: –
c = [1,3,5];
arrayfor loop
a = [1,2,3,4,5];b = [6,1,7,3,5];
c = [1,3,5];
Best Answer