Previous: SeekEoln procedure To the Table of Content Next: SetTextBuf procedure

- 4.62.2.79 -
Standard Units
System Unit
System Unit Procedures and Functions

SetString procedure

Targets: MS-DOS, OS/2, Win32

System Unit

Sets the contents and length of the given string.

Declaration:
procedure SetString(var S: string; Buffer: PChar; Len: DWORD);
Remarks:
The SetString sets the length indicator character (the character at S[0]) to the value given by Len and then, if the Buffer parameter is not nil, copies Len characters from Buffer into the string starting at S[1]. For a short string variable, the Len parameter must be a value between 0 and 255.


Previous: SeekEoln procedure To the Table of Content Next: SetTextBuf procedure
SeekEoln procedure Table of Content SetTextBuf procedure

- 4.62.2.79 -