Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Use single quote as part of a string literal?

Hi,

I want to use a single quote as part of a string literal. Is the chr(39) function the only solution?

Example with chr(39) function:

LET vMyVar = 'hello ' & chr(39) & 'WORLD' & chr(39) & ' from panos!';

sets the value

hello 'WORLD' from panos

to vMyVar.

Is there something like an escape sequence that I can use?

Tags (2)
1 Solution

Accepted Solutions
MVP
MVP

Use single quote as part of a string literal?

Hi,

There is no escape sequences in qlikview, you have to use chr() for characters like '(Apostrophe).

Regards,

Jagan.

1 Reply
MVP
MVP

Use single quote as part of a string literal?

Hi,

There is no escape sequences in qlikview, you have to use chr() for characters like '(Apostrophe).

Regards,

Jagan.

Community Browser