[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Length Returns the Length of a String
Length(Source : <string>) : Integer; [TP]
Returns the current (as opposed to the maximum) length of the string,
Source.
Source Any string value (constant, variable, function call or
expression).
Note: Since the length is stored in Source[0],
Length(Source) = Ord(Source[0]).
-------------------------------- Example ---------------------------------
Name := 'Rufus P. Jones';
I := Length(Name); { I gets assigned 14 }
See Also:
Ord
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson