Ok, here are my variable names and what they contain:
co_author1_last_name = Dauksa
co_author3_last_name = Flint
co_author5_last_name = Reality
co_author1_first_name = Emmanuel
co_author3_first_name = Keith
co_author5_first_name = Maxim
co_author1_institution = Cadence Healthcare
co_author3_institution = Cadence Healthcare
co_author5_institution = Pfizer
co_author1_city = Montreal
co_author3_city = Montreal
co_author5_city = Paris
co_author1_country = Canada
co_author3_country = Canada
co_author5_country = France
Now here is what I'm trying to output:
Dauksa E.1, Flint K.1, Reality M.2
1Cadence Healthcare, Montreal, Canada; 2Pfizer, Paris, France.
Now since the institution, city and country are the same for co_author1 & co_author3, it is not repeated as you can see.
Dauksa E. & Flint K. are with 1Cadence Healthcare, Montreal, Canada
and Reality M. is with 2Pfizer, Paris, France.
It is like a book reference. Can someone help with this? I would very much appreciate it!