Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nickedw0
Creator
Creator

Find nth item in string list

I need to pull a preselected item from a list of items (array list) in script:

list is a string of names: 'James','John','Jill'

given a selector of 2, how can I get the second item in list, namely 'John'?

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable

use subfield()

--> 3 parameter variant

for example:

subfield(YOURFIELD,',',2)

View solution in original post

1 Reply
Anonymous
Not applicable

use subfield()

--> 3 parameter variant

for example:

subfield(YOURFIELD,',',2)