Skip to content

TStrings.AddCommaText

Adds a comma-separated list of strings.

Declaration

Source position: classesh.inc line 1113

public 
procedure TStrings.AddCommaText(const S: string);

Description

AddCommaText parses S using the same mechanism as when setting TStrings.CommaText but adds the values instead of removing existing values.

AddCommaText also observes the TStrings.StrictDelimiter and TStrings.QuoteChar properties.

See also

Name Description
TStrings.AddDelimitedText Adds a separator-delimited list of strings.
TStrings.CommaText Contents of the list as a comma-separated string.
TStrings.QuoteChar Quote character used in DelimitedText.
TStrings.StrictDelimiter Should only the delimiter character be considered a delimiter.