Page 1 of 1

Missing join() function

Posted: 25 Jun 2015 18:46
by sahuna
join() function would be nice to supplement the split() function

Re: Missing join() function

Posted: 26 Jun 2015 07:34
by Martin
Hi,

I add a function like join(list, delimiter) to the todo-list.

You can use following syntax to create a comma separated list (takes also care of quoting values with special characters):

Code: Select all

list = newList(1, 2, "a,b");
text = "{list,listformat,comma}";
log(text);
logs: 1,2,"a,b"

Regards,
Martin