Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStrings.AddDelimitedtext

Adds a separator-delimited list of strings.

Declaration

Source position: classesh.inc line 1002

public procedure TStrings.AddDelimitedText(

  const S: string;

  ADelimiter: char;

  AStrictDelimiter: Boolean

); overload;

procedure TStrings.AddDelimitedtext(

  const S: string

); 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

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.


Documentation generated on: Dec 21 2024