Consider the following list: my_list = ["a,b,c", "a, an", "1,2,3"]
Is there a way to apply the function SPLIT into my_list so to get result = [["a","b","c"],["a","an"],["1","2","3"]]
?
Consider the following list: my_list = ["a,b,c", "a, an", "1,2,3"]
Is there a way to apply the function SPLIT into my_list so to get result = [["a","b","c"],["a","an"],["1","2","3"]]
?
Hi Alan,
You could use JS code below to get the result.
my_list.forEach((item, index, arr)=>arr[index]=item.split(","));
cheers
Here is an example:
Create a page variable to hold a list of text lists
Add the logic below:
getListOfLists JS Node