I am extracting data from an api and one field called FileUrl as multiple URLs as string with comma as the delimiter. I mapped it to a field with type list[string] in the metadata and want to extract the first value(first URL) in that list[string]. Currently I see that the all the URLs as output.
I am new to cloverdx and would appreciate the help from the community. Thank you.
-
Hi Sylvester,
You can access an individual element of a list by using the name of the list name followed by the element's index in square brackets. List indices start at 0 and end at size-1: your_list[index]
Thus, you are looking for the index 0 (e.g., urlList[0]).Regards,
Ladislav. -
Thank you!
Please sign in to leave a comment.
Comments 2