Missing join() function

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
sahuna
Posts: 6
Joined: 25 Jun 2015 18:26

Missing join() function

Post by sahuna » 25 Jun 2015 18:46

join() function would be nice to supplement the split() function

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Missing join() function

Post by Martin » 26 Jun 2015 07:34

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

Locked