how do I insert commas into a list?

dx1200's icon

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.

Luke Hall's icon

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

lh

Max Patch
Copy patch and select New From Clipboard in Max.

dx1200's icon

thanks hope, you make me happy.