help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStrings.Text

Contents of the list as one big string.

Declaration

Source position: classesh.inc line 524

public property TStrings.Text: String
  read GetTextStr
  write SetTextStr;

Description

Text returns, when read, the contents of the stringlist as one big string consisting of all strings in the list, separated by an end-of-line marker. When this property is set, the string will be cut into smaller strings, based on the positions of end-of-line markers in the string. Any previous content of the stringlist will be lost.

Remark: If any of the strings in the list contains an end-of-line marker, then the resulting string will appear to contain more strings than actually present in the list. To avoid this ambiguity, use the TStrings.CommaText property instead.

See also

TStrings.Strings

  

Indexed access to the strings in the list.

TStrings.Count

  

Number of strings in the list.

TStrings.CommaText

  

Contents of the list as a comma-separated string.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505