Looking at your images closer, your values are coming from MS Forms? If so, that changes what needs to be done. I really don't remember how I figured this out, but I needed this for one solution, and it is working fine.
- Initialize a string variable, which I think you already have. In my flow, I give it a default value of n/a (not applicable).
- Add a condition to check if the question from your form response is not empty.
- If it is not empty (no side of condition), you can use this expression to set the variable.
replace(replace(replace(replace(outputs('Get_response_details')?['body/r9993589908474942962bc282042a8c1a'],'"',''),'[',''),']',''),',',', ')
This is how the condition is configured and uses the following expression on the left:

empty(outputs('Get_response_details')?['body/r9993589908474942962bc282042a8c1a'])
In both expressions, replace outputs('Get_response_details')?['body/r9993589908474942962bc282042a8c1a'] with your dynamic value for the question.
This will return them comma separated. You can see if your switch will accept values with commas. Otherwise, just replace ', ' at the end of the first expression with whatever you want to separate the values with. For example, ' and '.