Number.to_char
Number.to_char
Function
Generate a single-character string based on the Unicode code point corresponding to the current number.
Syntax
number.to_char()
Parameters
No parameters.
Return value
| Type | Description |
|---|---|
| String/Null | Returns a string if the code point is valid; returns Null if it is invalid. |
Example
code = 65 result = code.to_char() // Output: A print result
Notes
- Returns Null if the code point is outside the valid range of Unicode.