Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

chr( n ) function

Hi All,

I am just confused with using chr( n ) function. I have seen in help but didn't find full info.

Please help to provide sample application/information on this.

Thanks in advance.

1 Solution

Accepted Solutions
qlikviewnovice
Specialist II
Specialist II

3 Replies
qlikviewnovice
Specialist II
Specialist II

qlikviewwizard
Master II
Master II
Author

Hi qlikviewnovice

Thank you so much. I got it now.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Chr(AsciiNumber) will return the character of given ASCII number.  Generally this is used when we want to insert single quote(') in our expression or in concatenation, since it is an error to mention single quote between ''.

Example:

If we want form a string like this - don't we need to use like below

='don' & Chr(39) & 't'

Or if you want to display Qlikview & Qliksense in two different lines in text object

='Qlikview' & Chr(10) & 'Qliksense'   -- Ascii code for Carriage return is 10  --- Chr(10) = Enter key

output is:

Qlikview

Qliksense

Regards,

Jagan.