How to iterate through several elements and create a new field with the content of each element

Thanks @Badger, I used this code of @adrianolimit and solve the problem.

The ruby filter is a powerfull and needed tool.

Thanks.