Length
Returns the number of characters in a string or elements in an array.
Structure
Length(S): Integer;
Parameters
Return Value
Description
Length returns the number of characters actually used in the string or the number of elements in the array.
For single-byte (AnsiString) and multibyte strings, Length returns the number of bytes used by the string. For Unicode (WideString) strings, Length returns the number of bytes divided by two.
S is a string- or array-valued expression. |