version 3
Length (string) Number
Parameter | Type | Description | |
string | String | String for which to return length | |
Function result | Number | Length of string |
Description
Length is used to find the length of string. Length returns the number of characters that are in string.
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