This function onverts a character to its corresponding Unicode character code.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
Str2Asc | String | Synchronous | Supported | Supported | Supported |
Returns the Unicode character code (in decimal) for the specified character.
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.
Tag Name | Expression |
---|---|
Tag | Str2Asc( "C" ) // Returned value = 67 |
Tag | Str2Asc( "o" ) // Returned value = 111 |