RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStrings.DelimitedText Property

Represents all the strings in the TStrings object as a single delimited string.

Pascal
property DelimitedText: string;
C++
__property AnsiString DelimitedText;

Use DelimitedText to get or set all the strings in the TStrings object in a single string.  

When retrieving DelimitedText, the resulting value delimits individual strings in two ways: each string is surrounded (before and after) by the quote character specified by the QuoteChar property. In addition, individual strings are separated by the character specified by the Delimiter property.  

When assigning DelimitedText, individual strings must be separated using QuoteChar at both ends, using Delimiter as a separator, or using both these methods. 

A space is always interpreted as a delimiter, regardless of the value of Delimiter, unless the space occurs between quote characters.

Note: CommaText is the same as the DelimitedText property when Delimiter is ',' and QuoteChar is '"'.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!