Access "String Collection"

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

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.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.