Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

expression help

I have below variable which will store following list.

vList variable:

Paris

Tokyo

New York

 

Expression:    ='(' & Replace(Trim(vList), chr(10), '|') & ')'

results: (Paris|Tokyo|New York)

 

How can i change the expression so that my results looks like below:

required results: ("Paris"|"Tokyo"|"New York")

 

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

='("' & Replace(Trim(vList), chr(10), '"|"') & '")'

View solution in original post

1 Reply
m_woolf
Master II
Master II

='("' & Replace(Trim(vList), chr(10), '"|"') & '")'