split

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

Home >  Expression Functions > String Functions >

split

Splits the string supplied as argument at each occurrence of separator.

 

Signature

split(string:string, separator:string) -> list of string

 

Parameters

Name

Type

Description

string

string

The input string.

separator

string

The separator string.

 

Examples

The following expression will return the list ["1", "2", "3"]:

 

split('1;2;3', ';')


© 2019 Altova GmbH