str = chr(nUtf8DecimalValue)
This macro function returns the character that corresponds to a UTF-8 decimal value of nUtf8DecimalValue.
A common use is to be able to insert apostrophes (UTF-8 decimal value of 39) which is not easy to do in the macros editor.
sHolAbbreviations = GetHolAbbreviationFromTable()
// use chr() to display "Today's a holiday in:"
sResult = 'Today' + chr(39) + 's a holiday in: ' + sHolAbbreviations
This function fully supports all Unicode ranges, so for example you could use the following code to display the Chinese traditional character for horse (馬).
sHorseCharacter = chr(39340) // 馬
See also: the character selection dialog.
Topic 178285, last updated on 18-Apr-2020