Studio Pro 8 has reached its end of support. To upgrade to a supported version, see Moving from Mendix Studio Pro 8 to 9.

Studio Pro 8 has reached its end of support. To upgrade to a supported version, see Moving from Mendix Studio Pro 8 to 9.

XPath Ends-With

Last modified: August 27, 2024

Overview

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

Example

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

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

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