Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

peter_turner
Valued Contributor

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
Honored Contributor

Joining strings

Try

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

chr(34) = "

Regards.

Community Browser