[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
procedure SetLength (var S: String; NewLength: Integer); |
`SetLength' explicitly assigns a new length `NewLength' to the
string parameter S
. The contents of the string is not changed;
if the operation increases the length of the string, the characters appended
at the end are undefined.
`SetLength' is a Borland Delphi 2.0 extension.
program SetLengthDemo; |
section 9.133 Length, section 9.268 String.