Str2Asc

This function onverts a character to its corresponding Unicode character code.

Function Group Execution Windows Embedded Thin Client
Str2Asc String Synchronous Supported Supported Supported

Syntax

Str2Asc(strChar)
strChar
The character to be converted.

Returned value

Returns the Unicode character code (in decimal) for the specified character.

Notes

Although the name of this function implies it only supports ASCII characters, it is in fact a legacy of previous versions of the software. The current version supports the full Unicode character set.

Examples

Tag Name Expression
Tag Str2Asc( "C" ) // Returned value = 67
Tag Str2Asc( "o" ) // Returned value = 111