TStrings.DelimitedText
Get or set all strings in the list in a delimited form.
Declaration
Source position: classesh.inc line 772
public Property
DelimitedText : string;
Description
DelimitedText returns all strings, properly quoted with QuoteChar and separated by the Delimiter character.
Strings are quoted if they contain a space or any character with ASCII value less than 32.
The CommaText property is a special case of delimited text where the delimiter character is a comma and the quote character is a double quote.
If StrictDelimiter is set to True, then no quoting is done (The QuoteChar property is disregarded completely): the returned text will contain the items in the stringlist, separated by the Delimiter character. When writing the DelimitedText property, the text will be split at all occurrences of the Delimiter character; however, when reading, the QuoteChar property will be taken into account.
See also
Name | Description |
---|---|
TStrings.CommaText | Contents of the list as a comma-separated string. |
TStrings.Delimiter | Delimiter character used in DelimitedText . |
TStrings.QuoteChar | Quote character used in DelimitedText . |
TStrings.Text | Contents of the list as one big string. |