System.Classes.TStrings.LineBreak

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LineBreak: string read FLineBreak write FLineBreak;

C++

__property System::UnicodeString LineBreak = {read=FLineBreak, write=FLineBreak};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Defines line-break characters.

The LineBreak property is used internally in TStrings to set the string terminator characters. Set or read the LineBreak property to determine the string terminator characters in multistring output operations.

For example, the GetText method returns a long string containing all TStrings strings, each of which is terminated by the LineBreak value.

Note: On Windows, the default LineBreak value is a carriage return and line feed combination (#13#10), whereas on OS X, it is just a line feed (#10).

See Also