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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
evgeniystuchalk
Partner - Creator II
Partner - Creator II

how to use ' symbol as text?

Hello! I need generate string like onClick="window.open('LINK'), where LINK is gegenrated link from formula, onClick="window.open(' and ') is fixed text parts. Touble with ' symblos around LINK.

When i'm tryen something like 'onClick="window.open(''&LINK&'')', formula does not work. How i can bypass it?

1 Solution

Accepted Solutions
Jason_Michaelides
Partner - Master II
Partner - Master II

Use Chr(39) instead. For example, to get:

Hello my name is 'Jason'

use

='Hello my name is ' & Chr(39) & 'Jason' & Chr(39)

Hope this helps,

Jason

View solution in original post

3 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Use Chr(39) instead. For example, to get:

Hello my name is 'Jason'

use

='Hello my name is ' & Chr(39) & 'Jason' & Chr(39)

Hope this helps,

Jason

evgeniystuchalk
Partner - Creator II
Partner - Creator II
Author

Yes, it works, thanks)

swuehl
Champion III
Champion III

Alternatively, you can also use escape sequences:

Escape sequences

='Hello my name is ''Jason'''