Ana_Laia | 2017-12-18 17:25:32 UTC | #1
Greetings.
I have a question related to access to a “String Collection”.
In architect, I receive from a “Call Data Action” as a string. On this string I delimit it by “\n”, so I was thinking of using the function “Spilt”, as for instance:
Split("12\n17\n20\n27\n38 ", "\n")
This function returns a String Collection.
My question is, how can I access to each string of this collection? In order to retrieve “12”, “17”, “20”, “27” and “38”.
Thank you in advance.
Best regards, Ana Laia
Ana_Laia | 2017-12-18 12:03:38 UTC | #2
Update:
I notice that I don’t need to use the Split function to split “\n”.
I have a task variable as task.mynumlist equals to "12\n17\n20\n27\n38". For retrieving each number I only need ToInt(Task.mynumlist [i]), where i is the index.
system | 2018-01-18 12:03:56 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 2253