Altova MapForce 2025 Professional Edition

Returns the decimal Unicode value (code) of the character supplied as argument. If the string supplied as argument has multiple characters, then the code of the first character is returned.

mf-func-code-from-char

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Name

Description

char

The input string value.

 

Example

If the input char is the $ (dollar sign) character, the function returns 36 (which is the decimal Unicode value for this character).

© 2018-2024 Altova GmbH