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

TStrings.SetText

Set the contents of the list from a PChar.

Declaration

Source position: classesh.inc line 770

public procedure TStrings.SetText(

  TheText: PAnsiChar

); 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

TStrings.Text

  

Contents of the list as one big string.


Documentation generated on: Jul 24 2023