Use map and join to generate the concatenated string