I have this code:
{categories}{category_name}, {/categories}
Outputting in a Entries Tag Pair.
I would like to remove the comma from the last outputted category only. I am thinking an IF statement but am not really sure what would be appropriate for this.
Any help would be much appreciated.