how do I insert commas into a list?

Mar 16, 2009 at 12:17pm

how do I insert commas into a list?

Hi folks,

I’ve scoured the archive and checked documentation but can’t find the solution. I think sprintf will do it for me but I don’t know what syntax to use.

I get a list from a function object but I need to insert commas between each element of the list. How might I do this?

Thanks in advance.

#42881
Mar 16, 2009 at 12:27pm

Use a backslash to escape the comma like in the example below.

lh

– Pasted Max Patch, click to expand. –
#153505
Mar 16, 2009 at 12:53pm

thanks hope, you make me happy.

#153506

You must be logged in to reply to this topic.