Query_Lang-SystemFunctions_System_LengthLength_AD

您正在阅读的是 18.1. 版本。关于最新版本,请前往 Query_Lang-SystemFunctions_System_Length((Length))_AD 阅读 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.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

您可以使用的功能取决于您的 Altium 订阅级别。如果您在软件中找不到某个功能,请联系 Altium 的销售人员以获取更多信息。