TStringList.GetText

function GetText: PChar Result: contents of a stringlist as PChar

Description
Function returns the contents as a PChar; series of strings, separated by an end-of-line marker.