Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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)