If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.

XPath Starts-With

Last modified: August 20, 2024

Overview

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

Example

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

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

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