intAsUnicode()

The strLib.intAsUnicode() system function returns a UNICODE character corresponding to an integer code point (numeric representation).

The complementary function strLib.unicodeAsInt() returns the code point for a UNICODE character.

Syntax

  strLib.intAsUnicode(code INT? in)
  returns (character UNICODE(1)?)
code
Input can be any variable or expression that is assignment compatible with the INT type (see "Assignment compatibility in EGL"), representing a Unicode code point. If code is less than 0 or greater than 65535, the function throws a RuntimeException.
character
The UNICODE character corresponding to code. If code is null, the function returns a null value.

Example

  result = strLib.intAsUnicode(65);
  // result is A

Compatibility considerations

Table 1. Compatibility considerations
Platform Issue
JavaScript generation The function strLib.intAsChar() is not supported.

Feedback