I am working on an array in which each entry contains name and page numbar.
I want to match duplicate names and remove second one. However i want to add page number of the second element in front of 1st one
E.g. array contains elements like: Barmparas, Galinos, 1120
Barmparas, Galinos, 1410
Beal, Alan, 866
Beall, Dawson, 1062
I want to chage array to: Barmparas, Galinos, 1120, 1410
Beal, Alan, 866
Beall, Dawson, 1062
Can anybody please help me?Thank you
In reply to Find duplicate elements from an array by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |