Convert string question

In reply to dave_59:

But how can I fetch the field name to collect and list all of them in one line ?