codepoint
Description
Converts a Unicode character into its numeric code point representation.
Syntax
Like many functions in DataPrime, codepoint
supports two notations, function and method notation. These interchangeable forms allow flexibility in how you structure expressions.
Arguments
Name | Type | Required | Description |
---|---|---|---|
value | string | true | The Unicode character to convert into a numeric code point |
Example
Convert a Unicode character into its numeric representation
Using codepoint
, the character can be translated into its numeric value. Consider the following document:
Example data
Example query
Example output
Theme
Light