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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

script with '

hi,

i want to write in my script:

if(fieldname= 'abc'd' , 'a' , fieldname) as fieldname

' - its a part of the word....

how can i do that?

tnx

2 Replies
rustyfishbones
Master II
Master II

you could use CHR(39)

Anonymous
Not applicable

if(fieldname= =  'abc' & chr(39) & 'd', 'a' , fieldname) as fieldname