Archive page multiple categories/taxanomies in post meta

Hi there,
I fetch post category and display it on arhive page and it works fine. However, If post has more than 1 category then it shows like this

Cateogry1 Category2

just space between them. While I want to add comma or hyphen between them. Coudnt find any way to do this

Could you share your template?

Edit: This thread might point you in the right direction.

1 Like

Yes it helped as I was using same template.