Altova MapForce 2025 Professional Edition

Returns true if string ends with substr; false otherwise. The returned value is of type xs:boolean.

 

This variant of the function uses the default collation, which is Unicode. Another variant of this function exists where you can supply the collation as argument.

mf-func-xpath2-ends-with

 

Languages

XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Name

Type

Description

string

xs:string

The input string (that is, the "haystack").

substr

xs:string

The substring (that is, the "needle").

© 2018-2024 Altova GmbH