Skip to content

TStrings.AddDelimitedtext

Adds a separator-delimited list of strings.

Declaration

Source position: classesh.inc line 1114

public 
procedure AddDelimitedText(const S: string; ADelimiter: char; 
                          AStrictDelimiter: Boolean);  overload; overload;

procedure AddDelimitedtext(const S: string);  overload; overload;

Description

AddDelimitedText parses S using the same mechanism as when setting TStrings.DelimitedText but adds the values instead of removing existing values. In difference with TStrings.AddCommaText it uses the TStrings.Delimiter character to separate the values.

AddDelimitedText also observes the TStrings.Delimiter, TStrings.StrictDelimiter and TStrings.QuoteChar properties.

See also

Name Description
TStrings.AddCommaText Adds a comma-separated list of strings.
TStrings.DelimitedText Get or set all strings in the list in a delimited form.
TStrings.Delimiter Delimiter character used in DelimitedText.
TStrings.StrictDelimiter Should only the delimiter character be considered a delimiter.
TStrings.QuoteChar Quote character used in DelimitedText.