[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TStringsOption

Enumeration of options used in TStrings

## Declaration

Source position: classesh.inc line 612

`type TStringsOption = (`
`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

TStrings.Options |  | A set of TStringsOption - various boolean properties.