Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 30, 2022 1:19:23 AM
Apr 23, 2015 7:41:47 AM
Everyone knows that sometimes we need to use chr() function to put paragraph sign - chr(13) – or single-quote - chr(39).
But sometimes you need a special symbol, but you don’t know the number. You can find it in the Internet, but I’ve found a Qlik way how to do it.
There is a faster way, If you found a symbol in the Internet and would like to know what is the number for this char.
For example delta sign
Δ
Use the ord() function
Ord(‘Δ’) gives you 916. So if you need to put this symbol somewhere you can use chr(916)
Some interesting codes are
=chr(9650) & chr(9651) & chr(9660) & chr(9661)
=chr(9733) and =chr(9734)
Be aware!
in the comments in different discussion jaimeaguilar mentioned that
"using chr() function you can display any ASCII / ANSI character (from chr 0 to 255) or Unicode chars (from chr 256 and up). The corresponding number in chr() function for the Unicode chars is the number referred as decimal, that can be found in plenty internet sites. Almost any Unicode char will display in ajax, but in some cases the correct displaying will depend on the page encoding."
Very Helpful
it's fantastic. Thanks!
Hi tried same logic in vizlib table it is not working.i want output like SSS&
JJJ
But IAM getting SSS&JJJ