Length

Now reading version 18.0. For the latest, read: Length 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.

 

Note

The features available depend on your level of Altium Designer Software Subscription.