Numbered list to array

How do I turn a numbered list into an array and how do I assign the elements from this array to variables? How can I address to array’s elements? I can’t find the new line symbol in Make…

1 Like

Hi @Yuri1 Can you share screenshots of the scenario and that numbered list?


Hey @Yuri1
I will assume it’s a text-based Numbered list, where each item is in a new row, starting with a number.

  1. You need to create an array using your list, splitting by newline
  2. Iterate that array and add each value of it into a variable to split the value by . that way you get the number and then the actual value of it
  3. If you need to, now you can merge the data back into an array without the number

You can use/import the blueprint below to see how it works

numberedList.json (7.9 KB)

I just don’t even know how to thank the respected DIMI - you have revealed the mystery of today, the symbol of the end of line!))) And a few more secrets of Make. Thank you very much!!))) Huge thanks!!!

Thanks @Yuri1! Glad I was able to help you!

1 Like

@dimi @Yuri1 if your numbers are separated by comma


Using split function with comma as a separator will create an array and it will also save operations.

Best,
@Prem_Patel