Altova FlowForce Server 2025 Advanced Edition

Returns true if the first string contains at least one occurrence of substring, otherwise false.

 

Signature

contains(string:string, substring:string) -> Boolean

 

Parameters

Name

Type

Description

string

string

The input string.

substring

string

The string value to check for.

 

Examples

The following expression returns true:

 

contains('cat','a')

 

The following expression returns false:

 

contains('cat','b')

© 2018-2024 Altova GmbH