Skip to content

TStrings.SkipLastLineBreak

Do not add a linebreak to the last item

Declaration

Source position: classesh.inc line 782

public Property
  SkipLastLineBreak : Boolean;

Description

SkipLastLineBreak can be set to True to omit a linebreak character after the last string in the TStrings.Text . This also means when writing to file, that the file will not have a terminating linebreak character.

Note that SkipLastLineBreak has the opposite meaning to TStrings.TrailingLineBreak .

See also

Name Description
TStrings.LineBreak LineBreak character to use
TStrings.Options A set of TStringsOption - various boolean properties.
TStrings.Text Contents of the list as one big string.
TStrings.TrailingLineBreak Add a linebreak to the last item