How to create a comma separated string and strip any inputs that are empty

You can use the built-in function map to select the value of daysToVacate, then join and split

e.g.:

{{join(split(join(map(38.array; "daysToVacate"); ","); ","); ",")}}

(split removes empty values by default)

Screenshot_2024-05-03_110506

Output

There is only one value in your provided sample output, 43

Screenshot_2024-05-03_110542

For more information, see

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

Partner & Custom Apps

samliewrequest private consultation

Join the Make unofficial Discord server!

1 Like