find-all

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

Home >  Expression Functions > String Functions >

find-all

Extracts all occurrences of pattern in the string, where pattern is a regular expression.

 

Signature

find-all(string:string, pattern:string) -> list of string

 

Parameters

Name

Type

Description

string

string

The input string.

pattern

string

The pattern as a regular expression.

 

Examples

The following expression extracts all occurrences of "o" from string "apollo".

 

find-all('apollo', 'o')

 

The result is the following list of string: ["o", "o"]


© 2019 Altova GmbH