Asc2Str
- Last UpdatedOct 29, 2026
- 1 minute read
This function converts one or more Unicode character codes to a string.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
Asc2Str |
String |
Synchronous |
Yes |
Supported |
Supported |
Supported (see Notes below) |
Supported |
Supported |
Syntax
Asc2Str(numChar1, numChar2, … , numCharN)
numChar1 .. numCharN
A series of comma separated Unicode character codes (in decimal).
Returned value
Returns a string comprising the converted codes.
Notes
The name of this function, which implies it only supports ASCII characters, is a legacy of previous versions of the software. The current version supports the full Unicode character set.
When this function is used in a project running on IoT View, it supports only single-byte Unicode characters (up to U+007F). Multi-byte Unicode characters are not supported at this time.
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
Asc2Str(65) // Returned value = "A" |
|
Tag |
Asc2Str(65, 66, 67) // Returned value = "ABC" |
|
Tag |
Asc2Str(Array[0], Array[1], Array[2]) // Returned value = "ABC" |