Sign in Join
FPDoc Onlineexperiment

TStrings.SkipLastLineBreak property

Member of TStringspublicIn unit Classes

Do not add a linebreak to the last item.

Declaration

pascal
property SkipLastLineBreak: Boolean read GetSkipLastLineBreak write SetSkipLastLineBreak;

Description

SkipLastLineBreak can be set to True to omit a linebreak character after the last string in the 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 TrailingLineBreak.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.