Query_Lang-SystemFunctions_System_LengthLength_AD
Created: September 05, 2015 | Updated: August 12, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
Now reading version 20.2. For the latest, read: Query_Lang-SystemFunctions_System_Length((Length))_AD for version 21
Parent page: System Query Functions - System Functions
Summary
Returns the number of characters contained within a string.
Syntax
Length(S : String) : Integer
S is the string whose character count is to be returned.
Example Usage
Length(Name) Between 4 And 7
Returns objects that have a Name property which contains between 4 and 7 characters.
Length('Cat')
Returns 3.
Length('Darryll')
Returns 7.
Length('Cats and dogs')
Returns 13.
Length('')
Returns 0.