Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStrings.GetText

Returns the contents as a PChar.

Declaration

Source position: classesh.inc line 739

public function TStrings.GetText: PAnsiChar; virtual;

Description

GetText allocates a memory buffer and copies the contents of the stringlist to this buffer as a series of strings, separated by an end-of-line marker. The buffer is zero terminated.

Remark: The caller is responsible for freeing the returned memory buffer.

Documentation generated on: Jul 24 2023