I'm not quite sure which function to use when I want to add a comma to the end of every line and a semi colon to the last one. Because it generates everything on the fly I can't count the rows from a db. Here's what I want to do:
red, <--Comma
green, <--Comma
blue, <--Comma
orange; <--Last one so semi colon
Any help is greatly appreciated