Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

XPath length

Last modified: June 29, 2022

1 Overview

The length() function returns the length of a string attribute or value.

2 Example

This query returns all customers with a FirstName of 5 or more characters:

1
//Sales.Customer[length(FirstName) >= 5]