string-length

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

Home >  Expression Functions > String Functions >

string-length

Returns the number of characters in the string.

 

Signature

string-length(string:string) -> number

 

Parameters

Name

Type

Description

string

string

The input string.

 

Examples

The following expression will return 3:

 

string-length('cat')


© 2019 Altova GmbH