Mendix 7 is no longer supported unless you have Extended Support. Mendix 7 documentation will remain available until July 2024.

To upgrade to a supported version, see Moving from Desktop Modeler Version 7 to Studio Pro 8.

XPath ends-with

Last modified: April 9, 2024

1 Overview

The ends-with() function checks whether a string attribute ends with a specific string (case-insensitive) as a sub-string.

2 Example

This query returns all customers whose name ends with the sub-string sen:

1
//Sales.Customer[ends-with(Name, 'sen')]

Customers with the name “Jansen” or “Isaacsen” will be returned, for example, because both names end with “sen.”