Create string variables from information entered in list questions

I would like to create variables that store the string information entered in a previous list question. I am having trouble finding the syntax for how to do this.

Dear Elena,

In order to provide you with a better solution concerning such variable, can you kindly indicate what is the purpose and what are your designing such a question for? In other words, what is the structure?

Best regards,

Olesandra Komarovska

Survey Solutions Team Support

Hi Olesandra,

I actually figured it out with the help of some people who know C#, the variable expression is the following:


Where D1 is the list question. This variable now has the string information stored in it from the first item listed in the list question D1.

It would be great to have more materials available for all such possible syntax problems.