Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
peter_turner
Partner - Specialist
Partner - Specialist

Joining strings

Hello All!

How do I join two strings together in script such as

let a='a';
let b=' " ' and '$(a)' and ' " ';

The result i want is "a" with the double quotes, is this possible?
The reason is because my text contains the single quote ' marks and QV try's to interpret these inside the script when i dont want it to.

Thanks,
Peter.

1 Reply
pover
Luminary Alumni
Luminary Alumni

Try

let b=chr(34) & $(a) & chr(34) ;

chr(34) = "

Regards.