Skip to content

TStrings.SetText

Set the contents of the list from a PChar.

Declaration

Source position: classesh.inc line 766

public 
  procedure SetText(TheText: PChar);  Virtual;

Description

SetText parses the contents of TheText and fills the stringlist based on the contents. It regards TheText as a series of strings, separated by end-of-line markers. Each of these strings is added to the stringlist.

See also

Name Description
TStrings.Text Contents of the list as one big string.