Display a particular field in a view by a comma separated values using custom code
You could create a template for the field you want to modify.

Click on link Advanced -> Themes -> Information, while editing the view, and select the right template and file name.
Then, in the template you can modify the output of the field.