code

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > List Functions >

code

Returns the Unicode value of the first character of the string supplied as argument.

 

Signature

code(string:string) -> number

 

Parameters

Name

Type

Description

string

string

Specifies the input string.

 

Examples

The following execution step returns the numeric value 32, which represents the space character:

ff_code


© 2019 Altova GmbH