Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
soha1902
Creator
Creator

Concatenate Two string variables???


Hi All,

I am using two variables which contains string values like

vFirst = 'A','B','C'

vSecond='D','E'

Now I want to concatenate these values into one variable (as vCombine ='A','B','C','D','E' ), for this I am using below statement in script:

Let vCombine = '$(vFirst)' & ',' & '$(vSecond)'

But it is showing Script Error message. Can any one help me.

Thanks in advance.....

5 Replies
Not applicable

Use set instead.

set vOne = 'A';

set vTwo = 'B';

set vThree = $(vOne) & $(vTwo);

etc

Not applicable

Hi,

You can try this script.

SET vFirst = 'A','B','C';

SET vSecond='D','E';

SET vCombine = $(vFirst),$(vSecond);

Anonymous
Not applicable

check out the attached test app

set vFirst = 'A','B','C';

set vSecond='D','E';

LET vcombine=vFirst&','&vSecond;

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Try


=vFirst &','& vSecond

and click ok

Not applicable

Hi

please try this expression

set vFirst = 'A','B','C';

set vSecond='D','E';

LET vcombine=vFirst&','&vSecond;