Multiple question in different variables

does Someone know how to separate the values inserted in the array of
options in a multiple selection widget??
when I upload it, I see that a variable has several answers separeted by
(,). could someone show me the code??