I have a Multiple Select List Box in a view and in the other view I want to show all the values selected in the list box. So I use the calculated value control.

If I select A B and C values in the list box it appears in caluculated control as A,B,C, but I want it as A, B, C
I tried using the eval function it working.
eval(eval(incidentType[. != ""], 'concat(., ", ")'), "..")
But the issue is I am getting the extra comma in the end.
How can I remove that. I am new to Infopath and any help is highly appreciated.. thanks