System.SysUtils.TStringHelper.Length
Delphi
property Length: Integer read GetLength;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.SysUtils.pas | System.SysUtils | TStringHelper |
Description
Use Length in order to obtain the length of the zero-based string.
var
MyString: String;
begin
MyString := 'This is a string.';
Writeln(MyString.Length);
end.
Output:
17