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 starts-with

Last modified: June 29, 2022

1 Overview

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

2 Example

This query returns all the customers from which the name starts with the string “Jans”:

1
//Sales.Customer[starts-with(Name, 'Jans')]

Customers with the name “Jansen” will be returned, for example, because the name starts with “Jans.”