Skip to content

TStrings.StrictDelimiter

Should only the delimiter character be considered a delimiter

Declaration

Source position: classesh.inc line 785

public Property
  StrictDelimiter : Boolean;

Description

StrictDelimiter can be used to indicate that only the delimiter character should be considered a delimiter when setting DelimitedText : under normal circumstances, quotes and spaces are considered specially (see the TStrings.CommaText property for more information).

When StrictDelimiter is set to True then only the Delimiter character is considered when splitting the text in items: no quoting whatsoever is performed when writing the DelimitedText property. However, when reading the DelimitedText property, quoted strings are taken into account (so a quoted string can contain a delimiter that is treated as text instead of a delimiter).

See also

Name Description
CommaText Contents of the list as a comma-separated string.
DelimitedText Get or set all strings in the list in a delimited form.
Delimiter Delimiter character used in DelimitedText .
TStrings.Options A set of TStringsOption - various boolean properties.