The following feature is new in Ignition version 8.1.8
Click here to check out the other new features
This function is used by Ignition's Expression language.

Description

Takes a Unicode character code (as an integer), and returns the Unicode character as a string.

Note: This function can work for ASCII conversions as well, since Unicode and ASCII character codes match for all ASCII characters.

Syntax

char(number)

  • Parameters

Integer code - The character code for a Unicode character. 

  • Results

String - The corresponding Unicode character, as a one-character string.

Examples
Code Snippet
char(88) //Returns "X".
Code Snippet
char(425) //Returns "?".
Code Snippet
char(-1) //Returns Error_Expression Eval.



  • No labels