Skip to content

TStringsOption

Enumeration of options used in TStrings.

Declaration

Source position: classesh.inc line 1010

type
  TStringsOption = (soStrictDelimiter,soWriteBOM,soTrailingLineBreak,
                  soUseLocale,soPreserveBOM)

Values

Value Description
soStrictDelimiter See TStrings.StrictDelimiter.
soWriteBOM See TStrings.WriteBOM.
soTrailingLineBreak See TStrings.TrailingLineBreak.
soUseLocale See TStrings.UseLocale.
soPreserveBOM If this option is enabled, TStrings.WriteBOM is set in TStrings.LoadFromStream or TStrings.LoadFromFile according to BOM presence in the loaded file.

Description

TStringsOption is the type used in the TStrings.Options set property, and it lists various strings options. It has the following values:

soStrictDelimiter
See TStrings.StrictDelimiter.
soWriteBOM
See TStrings.WriteBOM.
soTrailingLineBreak
See TStrings.TrailingLineBreak.
soUseLocale
See TStrings.UseLocale.
soPreserveBOM
If this option is enabled, TStrings.WriteBOM is set in TStrings.LoadFromStream or TStrings.LoadFromFile according to BOM presence in the loaded file.

See also

Name Description
TStrings.Options A set of TStringsOption - various boolean properties.