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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register 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
Partner - Master
Partner - Master

Try

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

chr(34) = "

Regards.