version 3
Length (aString) Number
Parameter | Type | Description | |
aString | String | String for which to return length | |
Function result | Number | Length of string |
Description
Length is used to find the length of aString. Length returns the number of characters that are in aString.
Note: The test If (vtAnyText="") is equivalent to the test If(Length(vtAnyText)=0).
Example
This example illustrates the use of Length. The results, described in the comments, are assigned to the variable vlResult.
vlResult := Length ("Topaz") ` vlResult gets 5 vlResult := Length ("Citizen") ` vlResult gets 7