@Length
@LENGTH
returns the length of a string of text.
DTP Type:
@LENGTH
can be assigned to a DTP of type numeric or integer.
Syntax:
@LENGTH(Text)
Parameters:
Parameter | Description |
---|---|
Text |
Design-time prompt of type string |
Example:
[Len1]=@LENGTH([String1])
Where:
[Len1]
is a numeric design-time prompt that is not checked prompt[String1]
is a promptable design-time prompt type string
Assume that the following value is input:
[String1]:
Today is the first day of fall
In this example, Len1=30