TStrings.DelimitedText

Applies to TestComplete 14.71, last modified on April 22, 2021

Obtains or sets all strings as a single line of text separated by the Delimiter character.

Declaration

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

Description

The DelimitedText property lets you obtain or set all strings in the given TStrings object as a single string separated by the Delimiter character.

Property Value

A string holding the list of the TStrings object’s lines. The format of the resulting string is described in the Remarks section.

Remarks

When you retrieve the DelimitedText property's value, each string is enclosed by the QuoteChar character, and strings are separated from each other by the Delimiter character.

When you set a list of strings via the DelimitedText property, you should enclose each string by the QuoteChar character, or separate them from each other using the Delimiter character, or use both methods.

To obtain or set a list of strings as a single comma-separated string, use the CommaText property. To obtain or set all strings as a single text separated by new line symbols, use the Text property.

See Also

TStrings.CommaText
TStrings.Delimiter
TStrings.QuoteChar
TStrings.Text

Highlight search results