inverse of :toarray to create a CSV string

I posted in the wrong forum before, so I will delete this from “General” soon: http://forum.mikrotik.com/t/inverse-of-toarray-to-create-a-csv-string/102453/1 as it better fits the Scripting forum:

:toarray can be used to split a CSV string into parts as documented at http://wiki.mikrotik.com/wiki/Script_to_find_the_day_of_the_week

What is the inverse? i.e. how can you convert an array of strings into a CSV string (apart from manually coding a loop)?

–jeroen

Bump.

Anyone having a good idea for this (apart from manually assembling the CSV).

–jeroen

[admin@rack1_hexv3_down] /system script> :global aa {“a”;“b”;“c”}
[admin@rack1_hexv3_down] /system script> :put [:tostr $aa]
a;b;c