Add to array from another array

Hello all,

I’ve got two arrays:

Array1:

fromAddr contactId dispositionNotes -------- --------- ---------------- 1234567890 45981466028 123456 0987654321 46002791800 8675309 

Array2:

fileName fullFileName contactId -------- ------------ --------- 45981466028.wav BUS1234564598146000045981466028.wav 45981466028 46002791800.wav BUS1234564600279000046002791800.wav 46002791800 

The property ‘contactId’ will be the same between the two. I’m trying to make an array comprised of the two but I’m falling flat on my face. My expected output would look like this:

fromAddr contactId dispositionNotes fileName fullFileName -------- --------- ---------------- -------- ------------ 1234567890 45981466028 123456 45981466028.wav BUS1234564598146000045981466028.wav 0987654321 46002791800 8675309 46002791800.wav BUS1234564600279000046002791800.wav 

Any help would greatly be appreciated.

submitted by /u/lzimbelman
[link] [comments]

Leave a Reply