chr
Description
Converts a numeric Unicode code point into its corresponding string character.
Syntax
Like many functions in DataPrime, chr
supports two notations, function and method notation. These interchangeable forms allow flexibility in how you structure expressions.
Arguments
Name | Type | Required | Description |
---|---|---|---|
value | number | true | The Unicode code point to convert into a character |
Example
Convert a numeric code point into a Unicode character
Consider the following document:
Using chr
, the numeric value can be rendered as its corresponding Unicode symbol.
Output
Both notations produce:
Theme
Light