How to copy data only without manually copying it

Hello everyone, I need help regarding this task that I want to achieve. My current output is on the left however I want the output to not be in a multiline data, I want it to be like the one on the right

Perhaps the Text Join component :question:

240311_text_join.gh (6.3 KB)

-Kevin