TStrings.Text

Applies to TestComplete 15.45, last modified on December 01, 2022

Obtains or sets all strings as a single line of text separated by new line symbols.

Declaration

TStringsObj.Text
Read-Write Property String
TStringsObj     A TStrings object  

Description

The Text property lets you get or set all strings in the given TStrings object as a single line of text separated by new line symbols (0xD 0xA pairs). If the strings in the list contain new line symbols, use the CommaText or DelimitedText property to get or set the list of strings as a single line of text.

Property Value

A string holding the list of the TStrings object’s lines separated by 0xD 0xA symbols.

Remarks

To get or set the list of strings as a single comma-separated string, use the CommaText property. To get or set all strings as a string separated by a custom character, use the DelimitedText property.

See Also

TStrings.CommaText
TStrings.DelimitedText

Highlight search results