Sign in Join
FPDoc Onlineexperiment

TStrings.TrailingLineBreak property

Member of TStringspublicIn unit Classes

Add a linebreak to the last item.

Declaration

pascal
property TrailingLineBreak: Boolean read GetTrailingLineBreak write SetTrailingLineBreak;

Description

TrailingLineBreak can be set to False 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 TrailingLineBreak has the opposite meaning to SkipLastLineBreak.

See also

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